Skip to content
SSRF Write-up Intermediate

Cve 2022 41040 Proxynotshell

ProxyNotShell is a pair of vulnerabilities in Microsoft Exchange Server: an SSRF (CVE-2022-41040) and an RCE (CVE-2022-41082). An authenticated attacker could exploit them to run remote code and plant ransomware, accessing critical files on the mail server.

Anshul vyas Follow

Published on infosecwriteups.com

This critical vulnerability named ProxyNotShell was discovered in Microsoft’s exchange server and was put in the category of Server-Side Request Forgery (SSRF) with the CVE-2022–41040 (CVSSv3 score of 6.3) along with this there is another vulnerability categorized as remote code execution (RCE) with the CVE-2022–41082…

Anshul vyas, on infosecwriteups.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 server-side request forgery, which can then be chained with a separate remote code execution flaw.

Impact

An authenticated attacker could achieve remote code execution, plant ransomware, and access critical files on the Exchange server; Microsoft observed attacks in fewer than 10 organisations globally.

What the attacker needed

Authenticated access to Exchange; on-premise Exchange 2013/2016/2019

The fix

No patch was available at the time; Microsoft recommended using a web application firewall with URL filters and limiting outgoing connections or using an outgoing proxy.

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, the software many companies use for email. One hole lets an attacker trick the server into making requests to other systems (SSRF), and the other lets them run their own code on the server (RCE). An attacker who already has a login could combine them to take control and install harmful software.

What is SSRF?

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

More by Anshul vyas

View all

5 more disclosed reports, best first.

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.