Skip to content
Info disclosure Advisory Intermediate CVE-2023-38181

Microsoft Exchange Server Spoofing Vulnerability (CVE-2023-38181)

An authenticated attacker could exploit a spoofing vulnerability in Microsoft Exchange Server by using a PowerShell remoting session to the server. Successful exploitation could allow the attacker to access a user's Net-NTLMv2 hash, which could then be used in an NTLM Relay attack to authenticate as that user against another service.

Piotr Bazydło Follow

Originally disclosed on Microsoft

High 8.8 View original

FAQ

How could an attacker exploit this vulnerability? An authenticated attacker could achieve exploitation by using a PowerShell remoting session to the server.

FAQ

According to the CVSS metric, the attack vector is network (AV:N) and the attack complexity is low (AC:L). What does that mean for this vulnerability? The attack vector is set to Network because this vulnerability is remotely exploitable and can be exploited from the internet. The attack complexity is set to Low because an attacker does not require significant prior knowledge of the cluster/system and can achieve repeatable success when attempting to exploit this vulnerability.

FAQ

Is there anything that I should be aware of if I'm running a non-English operating system and version of Exchange server? Yes, an issue has been discovered with the non-English August updates of Exchange Server and you should postpone installing these updates. The script protecting customers from the vulnerability documented by CVE-2023-21709 can be run to protect against the vulnerability without installing the August updates. Microsoft recommends running the script. August 15, 2023 Update: The known issue affecting the non-English August updates of Exchange Server has been resolved. Microsoft recommends installing the updated packages as soon as possible. Please see the Exchange Blog for more information.

FAQ

According to the CVSS metrics, successful exploitation of this vulnerability could lead to major loss of confidentiality (C:H), integrity (I:H) and availability (A:H). What does that mean for this vulnerability? An attacker who successfully exploited this vulnerability could access a user's Net-NTLMv2 hash which could be used as a basis of an NTLM Relay attack against another service to authenticate as the user.

Microsoft Exchange Server

Microsoft Exchange Server

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Piotr Bazydlo (@chudypb) of Trend Micro Zero Day Initiative. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a spoofing weakness in Exchange Server that lets an authenticated user with a PowerShell remoting session obtain another user's Net-NTLMv2 hash.

Impact

An attacker could access a user's Net-NTLMv2 hash and use it as the basis of an NTLM Relay attack against another service to authenticate as that user.

What the attacker needed

Authenticated access to the server; ability to start a PowerShell remoting session

The fix

Microsoft released August updates for Exchange Server; the text recommends installing the updated packages as soon as possible, and notes a script can protect against the related CVE-2023-21709 without installing those updates.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This is a flaw in Microsoft Exchange Server, the software many companies use for email. Someone who already has a login on the server could use a remote command session to trick the server into revealing a secret password hash belonging to another user. That hash can then be replayed to another service to pretend to be that user, which is called an NTLM Relay attack.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Piotr Bazydło

View all

232 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.