Linux 软件免费装
Banner图

Stop User Enumeration

开发者 fullworks
alanfuller
更新时间 2024年9月19日 18:44
PHP版本: 7.4 及以上
WordPress版本: 6.6
版权: GPLv2 or later
版权网址: 版权信息

标签

security fail2ban Security User Enumeration WPSCAN

下载

1.3.28 1.4.6 1.4.7 1.5.0 1.6 1.6.1 1.3.26 1.3.33 1.3.24 1.3.25 1.3.20 1.3.22 1.3.27 1.3.31 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.3.30 1.4.8 1.3.29 1.3.23 1.3.32 1.4.9 1.5.1 1.6.2 1.6.3

详情介绍:

Stop User Enumeration is a security plugin designed to detect and prevent hackers scanning your site for user login names. User Enumeration is a type of attack where nefarious parties can probe your website to discover your login name. This is often a pre-cursor to brute-force password attacks. Stop User Enumeration helps block this initial attack and allows you to log IPs launching these attacks to block further attacks in the future. Tools like WPSCAN are designed for use by ethical hackers and make efforts to find user login names. Ethical hackers ask permission first, this plugin is designed to reduce the tools when used without permission and when used in conjunction with fail2ban can block those attempts at the firewall. If you are on a VPS or dedicated server, as the attack IP is logged, you can use (optional additional configuration) fail2ban to block the attack directly at your server's firewall, a very powerful solution for VPS owners to stop brute force attacks as well as DDoS attacks. If you don't have access to install fail2ban ( e.g. on a Shared Host ) you can still use this plugin. The plugin can stop the user id being leaked by the oEmbed API call. Since WordPress 4.5 user data can also be obtained by API calls without logging in, this is a WordPress feature, but if you don't need it to get user data, this plugin will restrict and log that too. Since WordPress 5.5 sitemaps are generated by core WP ( wp-sitemap.xml ) which includes a user/author sitemap that exposes the user id. You can enable / disable this in the plugin settings. PHP 8.2 compatible Tested on PHP 8.2 Features Include

安装:

This section describes how to install the plugin and get it working. [youtube https://youtu.be/jZxZFoYOGY0 ] Either using the dashboard 'Add Plugin' feature to find, install and activate the plugin, or
  1. Download and the plugin from the download link
  2. Upload the entire stop-user-enumeration directory to your website's /wp-contents/plugins/stop-user-enumeration using a file manager or FTP
  3. Activate the plugin through the Plugins menu

常见问题:

It doesn't seem to work!

Are you logged in? This plugin won't do anything for logged in users, it only works when you are logged out. This is the way it is designed. A common mistake is to install the plugin and test it, while still logged in as admin.

My username still seems to be leaked!

Themes and xml feeds will include your user 'Display Name'. If you do not specify any name details or nick name, the 'Display Name' will default to your user login name. Make sure your Display Name is always set NOT to your user name or it will be leaked in multiple places.

Are there any settings?

Yes, but the default ones are fine for most cases

This doesn't work with PHP 5.2!

This plugin does not support PHP 5.2. PHP 5.2 is very old and you really need to sort out your hosting, running version of software way past its supported end of life is a security risk.

Will it work on Multisite?

Yes

Why don't I just block with .htaccess

A .htaccess solution is insufficient for several reasons, but most published posts on the subject do not cover POST blocking, REST API blocking and inadvertently block admin users access. And don't log the IP to a firewall, the major benefit!

Does it break anything?

If a comment is left by someone just giving a number that comment would be forbidden, as it is assumed a hack attempt, but the plugin has a bit of code that strips out numbers from comment author namesa1 Also usernames containing numbers may not work in the front end. Additionally the default rule for Rest APi is anything with users in it, so other plugins may set up endpoints.

How can I change the Rest API match rules

There are two filters stop_user_enumeration_rest_stop_match set to /users/i by default and stop_user_enumeration_rest_allow_match set to simple-jwt-login by default ( to allow that plugin's endpoints )

Do I need fail2ban for this to work?

No, but fail2ban will allow you to block IP addresses at your VPS / Dedicated server firewall that attempt user enumeration.

What is the fail2ban config?

An fail2ban config file, wordpress-userenum.conf is found in the plugin directory stop-user-enumeration/fail2ban/filter.d

What needs to go in the fail2ban jail.local?

An example jail.local is found in plugin directory stop-user-enumeration/fail2ban

How can I report security bugs?

You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team help validate, triage and handle any security vulnerabilities. Report a security vulnerability.

更新日志:

1.6.2 1.6.1 1.6 1.5.0