Learn Pentesting like a Pro!

Share this post

How to fix Wordpress XML-RPC Cyberattacks

pentesting.academy

How to fix Wordpress XML-RPC Cyberattacks

pentesting.academy
Mar 3, 2021
Share this post

How to fix Wordpress XML-RPC Cyberattacks

pentesting.academy
turned-on monitor
Photo by Stephen Phillips - Hostreviews.co.uk on Unsplash

To be protected against this cyber attack, do not forget to restrict access to /xmlrpc.php resource only from your IP address (1.2.3.4 in the example below).

For Apache, edit /.htaccess file to add:

<Files "xmlrpc.php"> 
   order deny,allow 
   deny from all 
   allow from 1.2.3.4 
</Files>

Save the changes, restart apache and ready!

Share this post

How to fix Wordpress XML-RPC Cyberattacks

pentesting.academy
Comments
TopNew

No posts

Ready for more?

© 2023 pentesting.academy
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing