Skip to content
SSRF Write-up Beginner

How a Simple WordPress Endpoint Led to a Blind Server-Side Reques

The WordPress XML-RPC endpoint on the target allowed the pingback.ping method to make requests to arbitrary URLs. An attacker could use this to force the server to send requests to internal or external systems, enabling blind SSRF.

Ark Follow

Published on medium.com

Every security researcher remembers the thrill of their first real find. It’s a mix of excitement, validation, and the sudden realization that you’ve successfully applied theory to a real-world target.

Ark, on medium.com

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 did not validate or restrict the source URL, allowing requests to arbitrary destinations.

Impact

An attacker could use the server to scan internal networks, access cloud metadata services to steal credentials, or launch denial-of-service attacks.

What the attacker needed

WordPress with xmlrpc.php enabled; pingback.ping method available; out-of-band listener

The fix

The XML-RPC endpoint should be disabled or the pingback.ping method should be restricted to prevent requests to arbitrary URLs.

How it was found

  1. Navigate to the xmlrpc.php endpoint to confirm it is active.
  2. Send a system.listMethods request to see available methods.
  3. Set up an out-of-band listener to receive requests.
  4. Send a pingback.ping request with the listener URL as the source.
  5. Check the listener logs for a request from the target server.

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 one blog notify another when it links to it. The server would then visit the linking blog's address to check the link. Because the server did not check where it was going, someone could make it visit any address, even internal ones that are not public. This is called server-side request forgery (SSRF): tricking a server into making requests for you.

What is SSRF?

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.

Similar reports

View all

Same bug class and techniques, clearest first.

Server-side request forgery (SSRF)

The lesson behind this report.

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.