Blind SSRF with Shellshock Exploitation
The application fetches URLs from the Referer header, enabling blind SSRF to internal servers. An attacker can brute-force internal IPs and inject a Shellshock payload via the User-Agent header to execute commands and exfiltrate the OS username and hostname.
medium.com
Published on medium.com
Blind Server-Side Request Forgery (SSRF) occurs when an application allows attackers to trigger HTTP requests from the server to internal or external resources without directly exposing the responses.
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
Impact
Exploiting Shellshock through SSRF could result in the disclosure of the operating system's user and hostname, and attackers could map internal networks to discover other services.
What the attacker needed
Access to a product page; ability to intercept and modify requests; Burp Collaborator or similar OAST service; internal service vulnerable to Shellshock
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.
The website takes a web address from a part of your request called the Referer header and secretly visits it from its own server. Because the attacker controls that address, they can make the server visit internal machines that are not reachable from the internet. One internal machine runs an old version of Bash (a command shell) that can be tricked into running commands when it sees a specially crafted header, letting the attacker steal information like the username.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.