My site is getting a XMLRPC attack. I use jetpack, so can't disable XMLRPC. Any solution?

Posted March 25, 2017 3.3k views

Hi, I’m getting constant login failure message from my website After checking the logs I found it is an XMLRPC attack. I read somewhere that disabling xmlrpc is the only best solution, but since I use Jetpack and Wordpress app on mobile I cannot do that. I have added security plugins and also password protected wp-login page as a second layer protection, enabled protection in Jetpack options, Have added WordFence. But I still get the same login failure warning almost every 30 minutes. I can see Wordfence is blocking those IPs but it just keeps happening from different IPs
Can anyone please help me with this?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer


Attempts to brute-force logins are pretty common with WordPress, which is why security plugins such as those that you’re using exist – since the functionality doesn’t exist in the WordPress core.

Attacks are normally persistent and without blocking an IP range, which could ultimately block a valid user from accessing your site, the best thing to do is what you’re already doing. Let the plugins do the job they were designed for, make sure you’re using secure passwords that are 16-32 characters long minimum and consist of random characters (i.e. no dictionary words, special dates, events, etc), etc.

Most attacks stem from dynamic IP’s, which is why you’re seeing them, so that much is common. As long as you’re seeing the WordPress plugins working, then you should be fine. Just make sure you’re as secure as possible, including on-server.

  • @srjcooldude
    Like @jtittle says, you’re already more secure than most, but you can always improve it.
    I’m running about 20 sites for one customer, which at the point when I took over management and security for the sites, they were being attacked with almost a million brute-force logins per day(!).
    Make sure you’re up-to-date with any updates - and continue to use security plugins like WordFence (and may look into fail2ban or similar).