Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shut off XMLRPC #2537

Closed
curtismchale opened this issue Apr 4, 2024 · 1 comment
Closed

Shut off XMLRPC #2537

curtismchale opened this issue Apr 4, 2024 · 1 comment

Comments

@curtismchale
Copy link
Contributor

XMLRPC is used by external blogging clients (like MarsEdit) to write your content locally and then push it to the WP site. I'm 99% sure we don't allow this and should just block access to XMLRPC. We're seeing it probed today on ADA Pacific in some attempt to hack the site.

I'm not worried, but we could stop the calls from being handled by WP at all and rejected at the server level with an adjustment to our .htaccess rules. The code below blocks everyone but the specifically allowed IP address. I don't think we need to allow anything though.

# Block WordPress xmlrpc.php requests
<Files xmlrpc.php>
order deny,allow
 deny from all
allow from 123.123.123.123
</Files>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant