XML-RPC Attack Risks

High risk: Brute force and DDoS via xmlrpc.php in WordPress.

Check for Attacks

cPanel → Metrics → Errors → Search for repeated POST to xmlrpc.php.

Disable via .htaccess

# Block xmlrpc.php
<Files xmlrpc.php>
Order Allow,Deny
Deny from all
</Files>

Alternative Disable Methods

Use Plugin

Install 'Disable XML-RPC' or 'Manage XML-RPC' plugin.

Block with ModSecurity

Add custom rule to block POST requests to xmlrpc.php.

Safe to Disable? Table

FeatureNeeds XML-RPCAlternative
JetpackYes (older)Use Jetpack without XML-RPC
Mobile appYesWorks with REST API
PingbacksYesDisable in settings
Most modern pluginsNoUse REST API