Skip to content
Misconfiguration Write-up Beginner

WordPress ‘xmlrpc.php’ (CVE-2020–28036) — old is gold

The xmlrpc.php file on WordPress sites is enabled by default and exposes the pingback.ping method, which an attacker can use to make the site send requests to arbitrary hosts, and the wp.getUsersBlogs method, which can be used for brute-force login attempts. The text claims this allows sites to be used in distributed denial-of-service attacks and for credential guessing.

osintteam.blog

Published on osintteam.blog

The xmlrpc file is a way for standardized requests to reach your site. It allows communication with wordpress.com if you use the Jetpack plugin and lets you post from the WordPress mobile app.

Abhishek pawar, on osintteam.blog

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 xmlrpc.php endpoint is enabled by default and exposes powerful methods such as pingback.ping and wp.getUsersBlogs without rate limiting or restriction.

Impact

Any WordPress site with pingbacks enabled could be used to send requests to other sites as part of a DDoS attack while hiding the attacker, and the wp.getUsersBlogs method could be used to guess credentials.

What the attacker needed

Target runs WordPress with xmlrpc.php enabled; pingback.ping present in method list; a server you control to receive requests

The fix

The text says disabling xmlrpc.php is outdated advice and recommends instead using strong passwords and a plugin that turns off the pingback feature, or disabling xmlrpc.php if the REST API covers your needs.

How it was found

  1. Request the xmlrpc.php file on the target to confirm it is enabled.
  2. Send a POST request calling system.listMethods to list the available methods.
  3. Check whether pingback.ping appears in the returned method list.
  4. Send a pingback.ping request pointing at a server you control and a valid blog URL on the target.
  5. Check your server logs or an out-of-band service to confirm the target made the request.

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.

WordPress sites include a file called xmlrpc.php that lets other software talk to the site, for example the mobile app or the Jetpack plugin. One of its features, pingback, tells a site when someone links to it, and an attacker can abuse that feature to make the site send requests wherever they choose. The same file also accepts login attempts, so attackers can try many username and password combinations through it.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.