Exploiting thousands of Domains for XSS
A reflected XSS vulnerability existed on a GoDaddy file-sharing service page, allowing an attacker to execute JavaScript in a victim's browser. Because thousands of domains used the service via CNAME, many were affected.
Published on kailashbohara.com.np
Security engineer with 9 years of experience in penetration testing, security architecture, cloud security, zero trust implementation, and threat hunting.
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 the application reflected user-supplied input into the page without proper sanitisation, allowing script injection.
Impact
An attacker could execute JavaScript in the context of domains using the service, affecting many sites.
What the attacker needed
Victim visits a crafted URL; domain uses the vulnerable service via CNAME
The fix
The vulnerability was patched by GoDaddy, though the report does not specify how.
How it was found
- Open the subdomain files.example.com in a browser.
- Run a Burp Suite auto scan and use the reflector extension to see which inputs are reflected.
- Analyse the suspicious parameter and craft a payload that executes JavaScript.
- Confirm the XSS by loading the vulnerable URL.
- Check the CNAME of the subdomain to identify the service provider.
- Use reverse CNAME lookup to find other domains using the same service.
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.
Cross-Site Scripting (XSS) is when a website shows user input without cleaning it, so an attacker can sneak in JavaScript code that runs in other people's browsers. Here, a parameter on a file-sharing page reflected such code, and because many domains pointed to that same service, the bug affected many sites.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.