xmlrpc.php file enabled at ██████.org
The WordPress XML-RPC interface was enabled on the target site, which the report says opens it to XML-RPC pingback and brute-force attacks.
Originally disclosed on HackerOne
- Triaged in 18 hours
- Fixed in 9 months
- Disclosed after 9 months
Description: XML-RPC on WordPress is actually an API that allows developers who make 3rd party application and services the ability to interact to your WordPress site. The XML-RPC API that WordPress provides several key functionalities that include:
Publish a post Edit a post Delete a post. Upload a new file (e.g. an image for a post) Get a list of comments Edit comments For instance, the Windows Live Writer system is capable of posting blogs directly to WordPress because of XML-RPC.
Unfortunately on the normal installation (not tampered with settings, and/or configs) of WordPress the XML-RPC interface opens two kinds of attacks:
XML-RPC pingbacks Brute force attacks via XML-RPC ##References https://medium.com/@the.bilal.rizwan/wordpress-xmlrpc-php-common-vulnerabilites-how-to-exploit-them-d8d3c8600b32 https://medium.com/@protector47/how-to-hack-wordpress-website-via-xmlrpc-php-61c813fa3740 https://hackerone.com/reports/325040?fbclid=IwAR0qgG-Xfzfi8epruslb_aB91f-Nj8DitF0su8O9ibFKSFdvefJ8h_qWNyc https://hackerone.com/reports/752073?fbclid=IwAR2i3AM4woHlr01MvyJR-Vu485XQg_gxb1doWmAhSBTfxPK9cUSRFxO2iFo
Impact
-->XML-RPC pingbacks -->Brute force attacks via XML-RPC
System Host(s)
███.org
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
- Go to https://█████████.org/xmlrpc.php to check if it is enabled or not.
2)If it is enabled, change the HTTP header to POST and make the following requests as shown in the POC
Suggested Mitigation/Remediation Actions
Disable or remove the xmlrpc.php file completely.
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
Root cause
Likely the default WordPress configuration leaves xmlrpc.php enabled, which permits brute-force and pingback abuse.
Impact
An attacker could perform brute-force attacks against WordPress accounts or abuse XML-RPC pingbacks.
What the attacker needed
WordPress site with xmlrpc.php enabled
The fix
The xmlrpc.php file should be disabled or removed completely.
How it was found
- Visit the site's xmlrpc.php page to check if it is enabled.
- If enabled, change the HTTP method to POST and send the requests shown in the proof of concept.
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.
XML-RPC is a WordPress feature that lets other apps talk to your site. If it is on, the report says attackers can use it for brute-force attacks and pingbacks. This report says the feature was left on, which is risky.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.