Open Akamai ARL XSS at ████████
An open Akamai ARL endpoint reflected a crafted query parameter without sanitisation, allowing an attacker to inject an image element with an error handler that executes JavaScript. An attacker could run malicious script in the context of the affected host.
Originally disclosed on HackerOne
- Disclosed after 8 months
Summary
There is Open Akamai ARL XSS at ████████
Proof-of-Concept
http://████/7/0/33/1d/www.citysearch.com/search?what=Binit&where=Binit%22%3E%3Cimg%20src%3Dbinit%20onerror%3Dalert%28document.domain%29%3E
References:
- https://github.com/war-and-code/akamai-arl-hack
- https://twitter.com/SpiderSec/status/1421176297548435459
- https://warandcode.com/post/akamai-arl-hack/
- https://github.com/cybercdh/goarl
- https://community.akamai.com/customers/s/article/WebPerformanceV1V2ARLChangeStartingFebruary282021?language=en_US
Impact
Attackers can execute malicious JavaScript code in the target webpage.
System Host(s)
█████████
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
http://████/7/0/33/1d/www.citysearch.com/search?what=Binit&where=Binit%22%3E%3Cimg%20src%3Dbinit%20onerror%3Dalert%28document.domain%29%3E
Suggested Mitigation/Remediation Actions
Visit
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 ARL endpoint reflected user input into the page without encoding it, so a crafted parameter value was treated as HTML and executed as script.
What the attacker needed
Victim clicks a crafted link
The fix
Akamai's guidance on ARL changes should be followed.
How it was found
- Open the ARL URL with a crafted query parameter containing an image element with an error handler.
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.
A reflected cross-site scripting (XSS) flaw lets an attacker put a small script into a link. When a victim opens that link, the script runs in the victim's browser as if it came from the real site, so it can read or change things the site would normally protect.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.