ProxyNotShell: authenticated Autodiscover SSRF in Exchange (CVE-2022-41040)
An edge proxy authorizes a request against one parsed view of the URL, then forwards it to the backend using a different parsed view, so an authenticated user reaches a privileged internal endpoint that the front-end access check never saw.
- Product
- Microsoft Exchange Server (on-premises) 2013, 2016, 2019
- Vendor
- Microsoft
- Affected
- Exchange 2013 CU23 < 15.00.1497.044; 2016 CU22 < 15.01.2375.037 and CU23 < 15.01.2507.016; 2019 CU11 < 15.02.0986.036 and CU12 < 15.02.1118.020
- Fixed in
- November 8, 2022 security updates (KB5019758)
- Weakness
- CWE-918
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 2 Oct 2022
Classified as
References
- MSRC advisory CVE-2022-41040
- MSRC customer guidance for the Exchange zero-days (Sep 30, 2022, mitigations)
- Microsoft Security blog: Analyzing attacks using CVE-2022-41040 and CVE-2022-41082
- ZDI: From Pwn2Own 2021 - A New Attack Surface on Microsoft Exchange (ProxyShell path confusion, shared root cause)
- Orange Tsai: A New Attack Surface on MS Exchange (ProxyLogon/ProxyShell)
- NVD
- CVE record on cve.org
Related CVEs
- CVE-2021-34473critical 9.82021
ProxyShell: Exchange frontend path confusion (CVE-2021-34473)
A frontend proxy strips a caller-supplied routing anchor with a naive substring erase, so a crafted URL rewrites to an arbitrary internal backend that the proxy then reaches as its own trusted machine account.
- CVE-2021-22214high 8.62021
GitLab CI lint SSRF
A user-supplied URL is fetched server-side with insufficient validation, so an attacker can make the server request internal systems.
- CVE-2021-26855critical 9.82021
ProxyLogon: frontend proxy trusts a client cookie to pick the backend
A frontend proxy chooses which backend to forward an authenticated request to from a client-supplied cookie, so a forged cookie makes it proxy an arbitrary backend request as the server's own identity.
- CVE-2026-15409critical 10.02026
SonicWall SMA1000 WorkPlace websocket proxy SSRF
Unauthenticated WorkPlace URL parameters select the host and port for a websocket-backed TCP tunnel, exposing localhost-only appliance services to remote traffic.