CVE-2023-23397:Microsoft Outlook Elevation of Privilege Vulnerability (CVE-2023-23397) allows attackers to steal NTLM hashes through specially crafted emails.

splash
Back

Description Preview

CVE-2023-23397 is a critical vulnerability in Microsoft Outlook that enables an attacker to send a specially crafted email message that triggers automatically when processed by the Outlook client. The vulnerability exploits the Windows authentication protocol by forcing the client to connect to a remote SMB server controlled by the attacker, allowing them to capture the user's NTLM hash without user interaction. This hash can then be used for authentication relay attacks or password cracking attempts, effectively giving attackers the ability to impersonate the user and gain unauthorized access to their resources.

Overview

This vulnerability affects Microsoft Outlook for Windows and stems from how Outlook processes certain message properties. When an attacker sends a specially crafted email that includes a UNC path to a remote SMB server they control, Outlook will automatically attempt to authenticate to that server using the user's Windows credentials. This occurs because the vulnerability triggers the NTLM authentication protocol, which sends the user's hashed credentials to the remote server. The attack is particularly dangerous because:

  1. It requires no user interaction beyond receiving the email
  2. It works even in the preview pane
  3. It can be exploited before the email is viewed by the user
  4. It allows attackers to capture authentication credentials remotely
  5. The stolen NTLM hashes can be used in pass-the-hash attacks or cracked to reveal passwords

Remediation

To address this vulnerability, organizations should:

  1. Apply Microsoft's security update immediately (released March 2023)
  2. Use Microsoft's provided PowerShell script to scan for potentially malicious messages in Exchange mailboxes
  3. Block outbound SMB (TCP ports 445 and 139) at the network perimeter to prevent NTLM authentication to external servers
  4. Implement Extended Protection for Authentication and certificate-based authentication where possible
  5. Enable Windows Defender Credential Guard to protect NTLM credentials
  6. Consider disabling NTLM authentication if feasible in your environment
  7. Implement multi-factor authentication to mitigate the impact of credential theft
  8. Monitor for suspicious authentication attempts and network connections to external SMB servers

References

  1. Microsoft Security Response Center: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-23397
  2. Microsoft Security Blog on CVE-2023-23397: https://www.microsoft.com/security/blog/2023/03/14/guidance-for-investigating-attacks-using-cve-2023-23397/
  3. CISA Advisory on CVE-2023-23397: https://www.cisa.gov/news-events/cybersecurity-advisories/aa23-074a
  4. MITRE CWE-294 (Authentication Bypass): https://cwe.mitre.org/data/definitions/294.html
  5. Microsoft Detection and Mitigation Guide: https://microsoft.github.io/CSS-Exchange/Security/CVE-2023-23397/

Industry ExposureMost to least
This section illustrates the prevalence of a specific Common Vulnerabilities and Exposures (CVE) across various industries based on customer reports. The ranking displays industries from the most to least affected by this particular vulnerability, offering valuable insight into where this CVE has been most frequently observed. This information can help organizations within these sectors prioritize their security efforts, understand their relative risk exposure compared to their peers, and focus remediation strategies where they are most needed. By understanding the industry-specific impact, organizations can make more informed decisions regarding patching, resource allocation, and overall risk management related to this CVE.

  1. Manufacturing: Medium
    Manufacturing
  2. Public Administration: Medium
    Public Administration
  3. Health Care & Social Assistance: Medium
    Health Care & Social Assistance
  4. Educational Services: Medium
    Educational Services
  5. Transportation & Warehousing: Medium
    Transportation & Warehousing
  6. Finance and Insurance: Medium
    Finance and Insurance
  7. Retail Trade: Medium
    Retail Trade
  8. Professional, Scientific, & Technical Services: Low
    Professional, Scientific, & Technical Services
  9. Other Services (except Public Administration): Low
    Other Services (except Public Administration)
  10. Utilities: Low
    Utilities
  11. Arts, Entertainment & Recreation: Low
    Arts, Entertainment & Recreation
  12. Information: Low
    Information
  13. Accommodation & Food Services: Low
    Accommodation & Food Services
  14. Management of Companies & Enterprises: Low
    Management of Companies & Enterprises
  15. Agriculture, Forestry Fishing & Hunting: Low
    Agriculture, Forestry Fishing & Hunting
  16. Real Estate Rental & Leasing: Low
    Real Estate Rental & Leasing
  17. Construction: Low
    Construction
  18. Mining: Low
    Mining
  19. Administrative, Support, Waste Management & Remediation Services: Low
    Administrative, Support, Waste Management & Remediation Services
  20. Wholesale Trade: Low
    Wholesale Trade

Focus on What Matters

  1. See Everything.
  2. Identify True Risk.
  3. Proactively Mitigate Threats.

Let's talk!

background