Skip to content
DoS Disclosed report Beginner

Application level DoS via xmlrpc.php

The WordPress xmlrpc.php file was enabled and allowed pingback requests, which could be abused to make the server send requests to arbitrary victim hosts. An attacker could use this to include the site in a distributed denial-of-service attack against other targets.

mohammedadam24 Follow

Originally disclosed on HackerOne

  • Triaged in 25 days
  • Fixed in 38 days
  • Disclosed after 3 months

#Vulnerability description:

Wordpress that have xmlrpc.php enabled for pingbacks, trackbacks, etc. can be made as a part of a huge botnet causing a major DDOS. The website https://████/ has the xmlrpc.php file enabled and could thus be potentially used for such an attack against other victim hosts.

#Vulnerable links: https://█████/xmlrpc.php

In order to determine whether the xmlrpc.php file is enabled or not, using the Repeater tab in Burp, send the request below.

POST /xmlrpc.php HTTP/1.1 Host: ███ Accept: / Accept-Language: en Connection: close Content-Length: 93

<methodCall> <methodName>system.listMethods</methodName> <params></params> </methodCall>

Impact

#Impact: Notice that a successful response is received showing that the xmlrpc.php file is enabled. Now, considering the domain https://██████/ the xmlrpc.php file discussed above could potentially be abused to cause a DDOS attack against a victim host. This is achieved by simply sending a request that looks like below.

POST /xmlrpc.php HTTP/1.1 Host: ██████ Accept: / Accept-Language: en Connection: close Content-Length: 235

<methodCall> <methodName>pingback.ping</methodName> <params> <param> <value><string>http://██████/</string></value> </param> <param> <value><string>https://███████/</string></value> </param> </params> </methodCall>

As soon as the above request is sent, the victim host (█████████) gets an entry in its log file with a request originating from the https://█████/ domain verifying the pingback.

#Remediation:

If the XMLRPC.php file is not being used, it should be disabled and removed completely to avoid any potential risks. Otherwise, it should at the very least be blocked from external access.

The original report as published on HackerOne, by mohammedadam24. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 xmlrpc.php file was left enabled with pingback functionality, allowing unauthenticated users to make the server send requests to arbitrary URLs.

Impact

The vulnerable site could be used as part of a botnet to send requests to a victim host, potentially contributing to a distributed denial-of-service attack.

What the attacker needed

Xmlrpc.php enabled on the target; pingback.ping method allowed

The fix

The xmlrpc.php file should be disabled and removed if not needed, or at least blocked from external access.

How it was found

  1. Send a POST request to /xmlrpc.php with a system.listMethods call to check if XML-RPC is enabled.
  2. Observe a successful response confirming that xmlrpc.php is enabled.
  3. Send a POST request to /xmlrpc.php with a pingback.ping call containing a source URL and a target URL.
  4. Check the victim host's log to see a request originating from the vulnerable site, confirming the pingback.

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.

WordPress has a feature called XML-RPC that lets other sites notify it when they link to it (pingbacks). If this is left on, someone can tell the site to send a request to any address they choose. By doing this many times from many sites, an attacker can flood a victim with traffic, which is a denial-of-service attack.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by mohammedadam24

View all

1 more disclosed report, best first.

More from U.S. Dept Of Defense

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.