Skip to main content
Added a broader solution as well as the previous specific solution.
Source Link

For now thisThis is the best answermost specific solution I cancould find, but I'm hoping for a better solution out there somewhere as it disables only the single function being attacked.

functions.php:

function Remove_Unneeded_XMLRPC( $methods ) {
    unset( $methods['wp.getUsersBlogs'] );
    return $methods;
}
add_filter( 'xmlrpc_methods', 'Remove_Unneeded_XMLRPC' );

found this at: http://www.cryptobells.com/more-wordpress-xmlrpc-brute-force-attacks/

After having another attack this weekendFor a broader solution there is a WordPress plugin called "Disable XML-RPC" which does precisely that, I am implementing this fix and will post any updates I finddisables the entire XML-RPC functionality.

For now this is the best answer I can find, but I'm hoping for a better solution out there somewhere.

functions.php:

function Remove_Unneeded_XMLRPC( $methods ) {
    unset( $methods['wp.getUsersBlogs'] );
    return $methods;
}
add_filter( 'xmlrpc_methods', 'Remove_Unneeded_XMLRPC' );

found this at: http://www.cryptobells.com/more-wordpress-xmlrpc-brute-force-attacks/

After having another attack this weekend, I am implementing this fix and will post any updates I find.

This is the most specific solution I could find as it disables only the single function being attacked.

functions.php:

function Remove_Unneeded_XMLRPC( $methods ) {
    unset( $methods['wp.getUsersBlogs'] );
    return $methods;
}
add_filter( 'xmlrpc_methods', 'Remove_Unneeded_XMLRPC' );

found this at: http://www.cryptobells.com/more-wordpress-xmlrpc-brute-force-attacks/

For a broader solution there is a WordPress plugin called "Disable XML-RPC" which does precisely that, disables the entire XML-RPC functionality.

Source Link

For now this is the best answer I can find, but I'm hoping for a better solution out there somewhere.

functions.php:

function Remove_Unneeded_XMLRPC( $methods ) {
    unset( $methods['wp.getUsersBlogs'] );
    return $methods;
}
add_filter( 'xmlrpc_methods', 'Remove_Unneeded_XMLRPC' );

found this at: http://www.cryptobells.com/more-wordpress-xmlrpc-brute-force-attacks/

After having another attack this weekend, I am implementing this fix and will post any updates I find.