Skip to content
RCE Advisory Advanced CVE-2023-35368

Microsoft Exchange Remote Code Execution Vulnerability (CVE-2023-35368)

An in-network attacker with no privileges could call arbitrary endpoints on an Exchange server and trigger malicious code in the context of the server's account, gaining remote code execution. The same flaw could also expose a user's Net-NTLMv2 hash, which could then be relayed to another service to authenticate as that user.

Daniel F Follow

Originally disclosed on Microsoft

High 8.8 View original

FAQ

How could an attacker exploit this vulnerability? Successful exploitation of this vulnerability could allow an attacker the ability to gain remote code execution via an in-network attacker calling arbitrary endpoints.

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 metric, the attack vector is adjacent (AV:A), and privilege required is none (PR:N). What does that mean for this vulnerability? The attacker for this vulnerability could target the server accounts in an arbitrary or remote code execution and attempt to trigger malicious code in the context of the server's account through a network call. The attacker needs no privileges to perform this attack.

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 Daniel F.. 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 insufficient validation or authorisation on endpoints reachable from the adjacent network, allowing arbitrary endpoint calls to run code as the server account.

Impact

An attacker on the adjacent network could gain remote code execution as the server account and could access a user's Net-NTLMv2 hash for use in an NTLM relay attack against another service.

What the attacker needed

Attacker positioned on the adjacent network; no privileges required

The fix

Microsoft released updated Exchange Server packages, and customers were advised to install them as soon as possible.

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.

Exchange is Microsoft's email server. A flaw let someone already on the same network, without any login, make the server run code of their choosing. Separately, they could capture a scrambled form of a user's password (a hash) and reuse it to pretend to be that user elsewhere.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.