Let’s put a stop to user enumeration
-
I keep waiting for the next WP update to address the major security flaw caused by the user enumeration system, whereby a hacker / bot can simply add ?author=x at the end of your website’s URL and get a new URL showing the author’s username. This happens even if a user has opted to be displayed publicly by their nickname. In my opinion this makes no sense at all. Quite apart from the obvious security issue – this allows hackers to get hold of usernames and start having a go at guessing their passwords – there is also a privacy issue here: most folk would assume that if they have told WP to only display their nickname in the frontend, that’s what will happen. But it’s not. Anyone can see their username just by looking at any URL relating to their author.
I have had several websites hacked into before I learned to remove all author links from my templates, then customise .htaccess to redirect from the ?author query.
Even some of the best security plugins like Bulletproof Security don’t disable author enumeration by default because – in their opinion – it’s a core WP function, so the only thing they can do is provide custom code for people who want to disable it. But many folks don’t even realise that there is an issue there until either they get hacked, or their security plugin starts blocking out rogue login attempts.
I’d like to request this change for the next WP update: for any user who has opted to be displayed publicly by their nickname, their username should never appear anywhere in the frontend. Author related URLs should use the nickname instead.
If anyone else agrees with this, please reply here and maybe we can convince WP developers to get this major security and privacy loophole closed up once and for all.
- The topic ‘Let’s put a stop to user enumeration’ is closed to new replies.