You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment we are using the xmlrpc_enabled filter to disable XML-RPC methods requiring authentication but ideally there would be an option to disable access to xmlrpc.php entirely so it can't be used for any purpose (inc. bruteforcing credentials).
The text was updated successfully, but these errors were encountered:
Encountered XMLRPC being exploited for attempts to access authenticated methods, used the following to completely disable it:
add_filter('wp_xmlrpc_server_class', 'disable_wp_xmlrpc');
function disable_wp_xmlrpc($data) {
exit('You dont have permission to access this file');
}
At the moment we are using the xmlrpc_enabled filter to disable XML-RPC methods requiring authentication but ideally there would be an option to disable access to xmlrpc.php entirely so it can't be used for any purpose (inc. bruteforcing credentials).
The text was updated successfully, but these errors were encountered: