Penetration Testing Xml Rpc Uncovering The Weaknesses
The report describes that the xmlrpc.php file in WordPress is enabled and can be abused to brute-force credentials and perform denial-of-service attacks. An attacker could use methods like wp.getUsersBlogs and system.multicall to guess passwords or flood the server.
Published on systemweakness.com
XML-RPC is a remote procedure call (RPC) protocol encoded in XML. It is used to transmit data via HTTP and can be used with a variety of programming languages.
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 file is enabled by default and allows unlimited authentication attempts and method calls without rate limiting or access restrictions.
Impact
An attacker could brute-force credentials to gain unauthorised access or flood the server to cause a denial of service.
What the attacker needed
WordPress site with xmlrpc.php enabled; Network access to the target
The fix
Access to xmlrpc.php should be blocked or restricted using an .htaccess rule, as the report suggests.
How it was found
- Open the URL of the target site followed by /xmlrpc.php in a browser.
- Intercept the request in BurpSuite and send it to Repeater.
- Change the request method from GET to POST.
- Send the modified request to list available methods using system.listMethods.
- Use the wp.getUsersBlogs method with guessed credentials to attempt login.
- Use system.multicall to try multiple username and password pairs in a single 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.
XML-RPC is a feature in WordPress that lets other programs talk to your site. If it's turned on, attackers can try many username and password combinations quickly or send lots of requests to overwhelm the server. This report shows how to find and misuse that feature.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.