Microsoft Exchange Server Remote Code Execution Vulnerability
The Autodiscover service on Microsoft Exchange Server fails to properly validate a URI before accessing resources, which lets an unauthenticated attacker reach internal endpoints. Chained with other flaws, this can lead to arbitrary code execution as SYSTEM.
Published on medium.com
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Microsoft Exchange Server. Authentication is not required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
An unauthenticated attacker could execute arbitrary code as SYSTEM and then move through Active Directory, though the text notes the code execution depends on chaining with other vulnerabilities.
What the attacker needed
Network access to the Exchange server; no authentication needed; chaining with other flaws for code execution
How it was found
- Search Shodan for hosts tagged with the CVE, optionally filtered by country or organisation.
- Send a crafted request to the Autodiscover JSON endpoint with a manipulated address parameter.
- Use the resulting access to run commands in PowerShell on the server.
- Use that foothold to enumerate Active Directory, list internal addresses and capture NTLM hashes.
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 write-up has not been written yet. The Original tab links to the source.
Exchange Server is Microsoft's email server. Its Autodiscover service helps email clients find the right server settings, but it trusted a web address supplied by the caller without checking it properly. That let an outsider make the server talk to places it should not, and combined with other bugs, run their own commands on the machine.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.