SSRF on http://www.███████/crossdomain.php via url parameter
A Sony endpoint accepted a user-supplied URL parameter without proper validation, allowing local file inclusion and server-side request forgery. An attacker could read sensitive server files, access EC2 instance metadata, and use an externally hosted SVG to trigger reflected cross-site scripting.
- Triaged in 12 hours
- Fixed in 2 days
- Disclosed after 2.1 years
Summary by the program
The researcher reported that a Sony endpoint was vulnerable to Local File Inclusion (LFI) and Server-Side Request Forgery (SSRF) vulnerabilities. The researcher used the LFI vulnerability to read sensitive files such as /etc/passwd from the web server. The researcher also demonstrated using the SSRF vulnerability to view EC2 instance metadata, and to retrieve an externally hosted .svg file to execute a reflected Cross-Site Scripting (XSS) attack.
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 url parameter was passed to a server-side fetch or file-read function without validating or restricting the target scheme, host, or path.
What the attacker needed
Access to the vulnerable Sony endpoint; ability to supply the input used for the LFI/SSRF
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.
The web server had a feature that fetched a URL supplied by the user, but it did not check where that URL pointed. This let an attacker make the server read its own private files or internal cloud details, and even load a malicious image file that ran code in a victim's browser.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.