Hunting For xmlrpc: Uncovering WordPress XML-RPC & Admin Path Di
The WordPress installation exposed xmlrpc.php with system.multicall and pingback.ping enabled, and left wp-admin/install.php accessible. An attacker could bundle many login attempts into one request to bypass rate limiting, and use pingback to make the server send requests to arbitrary hosts.
Published on vanshrathorebughunter.medium.com
When it comes to bug bounty hunting, sometimes the most impactful vulnerabilities aren’t the complex, multi-step exploits. Often, they are the forgotten misconfigurations left sitting in plain sight.
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 WordPress hardening was incomplete: XML-RPC was left enabled with dangerous methods, and installation files were not removed.
Impact
An attacker could bypass login rate limiting to brute-force credentials faster, and could use the server to make requests to internal or external hosts, potentially for SSRF or DDoS; the exposed install path also reveals the CMS.
What the attacker needed
WordPress site with xmlrpc.php enabled; system.multicall and pingback.ping enabled; attacker-controlled server for pingback
The fix
XML-RPC should be disabled or its dangerous methods blocked, and installation files should be removed from production.
How it was found
- Enumerate common WordPress endpoints and find xmlrpc.php and wp-admin/install.php.
- Send a POST request to xmlrpc.php listing available methods.
- Check the response for system.multicall and pingback.ping.
- For pingback, start a listener and send a pingback.ping request pointing to it and to a valid blog post.
- Check the listener logs for an incoming request to confirm the pingback.
- Visit wp-admin/install.php and observe an authentication pop-up.
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 has an old feature called XML-RPC that lets other programs talk to the site. If it is left on, it can be abused to try many passwords at once or to make the server contact other machines. The report also found an installation file still reachable, which tells attackers the site runs WordPress.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.