Vulnerability exposes hidden admin
-
First, thanks for a very helpful plugin.
There’s one RewriteRule in the set of rules added to .htaccess for hiding the backend that creates a bit of a vulnerability. I do not see the equivalent rule in the nginx configuration, but I’m not as familiar with that rewrite syntax.
Here’s a scenario:
- Hacker visits the blog and suspects it is running on WordPress
- Hacker attempts to login by visiting /wp-login.php
- Hacker receives a 404 error, but suspects Better WP Security may be installed and hiding the login URL
- Hacker visits /?loggedout=true and gets redirected to the login page with the secret key appended
I’m sure you are aware of the rule I’m talking about. It appears in lines 699-700 of inc/admin/common.php and looks like this in .htaccess:
RewriteCond %{QUERY_STRING} ^loggedout=true RewriteRule ^.*$ /wp-login.php?[secret-key-here] [R,L]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Vulnerability exposes hidden admin’ is closed to new replies.