5 Minutes, 3 Sites, 1 WordPress Vulnerability: My Bug Bounty Win
The WordPress xmlrpc.php endpoint allowed unauthenticated pingback.ping requests, enabling blind SSRF. An attacker could make the server send requests to arbitrary URLs, including internal services, and confirm via out-of-band interaction.
Published on markazgasimov.medium.com
Hey everyone! 👋 A few days ago, while doing some casual bug bounty hunting, I came across something pretty wild — I found the same vulnerability on three completely different websites, all using WordPress.
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 pingback.ping method in xmlrpc.php was enabled and did not restrict the URLs it would fetch, allowing requests to arbitrary internal or external addresses.
Impact
The server could be tricked into making requests to internal services or cloud metadata endpoints, potentially leading to information disclosure, firewall bypass, or internal network reconnaissance, though the blind nature limits direct data exfiltration.
What the attacker needed
Xmlrpc.php accessible; pingback.ping enabled; out-of-band listener
The fix
Disable xmlrpc.php entirely if not needed, or block the pingback.ping method, use a WAF, and monitor outbound requests.
How it was found
- Visit the target's xmlrpc.php endpoint to confirm it is active.
- Send a POST request with an XML payload calling system.listMethods to check available methods.
- Confirm that pingback.ping is listed among the available methods.
- Send a POST request with a pingback.ping payload pointing to a controlled collaborator URL.
- Monitor the collaborator for an incoming request, which confirms the 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 write-up has not been written yet. The Original tab links to the source.
The website had a feature that lets other sites notify it when they link to it. The feature did not check where those notifications came from, so an attacker could make the website visit any address, even internal ones not reachable from the internet. This is called server-side request forgery (SSRF).
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.