Skip to content
SSRF Write-up Advanced

Proxynotshell Vulnerability

Microsoft Exchange servers were affected by two vulnerabilities, ProxyNotShell: an SSRF (CVE-2022-41040) and an RCE (CVE-2022-41082). An authenticated attacker could chain them to execute commands on the server.

Seda BOLAT Follow

Published on systemweakness.com

Zero-day vulnerabilities CVE-2022–41040 (Server-Side Request Forgery (SSRF)) and CVE-2022–41082 (Remote Command Execution (RCE)) named ProxyNotShell were released in September 2022. These vulnerabilities effects 2013, 2016, and 2019 versions of Microsoft Exchange servers.(1) The vulnerability is named ProxyNotShell…

Seda BOLAT, on systemweakness.com

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

Root cause

Likely an input validation flaw in Exchange that allows an authenticated user to trigger server-side requests and then execute code.

What the attacker needed

Authenticated access to Exchange

The fix

Microsoft had not released a fix at the time; a workaround was to add an IIS rule blocking requests matching a specific pattern.

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.

This is about two security holes in Microsoft Exchange email servers. One hole lets an attacker make the server send requests to places it should not (SSRF), and the other lets the attacker run their own commands on the server (RCE). The attacker needs a valid login to the server to use them.

What is SSRF?

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.

Similar reports

View all

Same bug class and techniques, clearest first.

Server-side request forgery (SSRF)

The lesson behind this report.

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.