Coder Social home page Coder Social logo

carlos-montiers / no-user-enumeration Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 3 KB

Security plugin for Wordpress: No User Enumeration. https://wordpress.org/plugins/no-user-enumeration/

PHP 100.00%
wpscan user-enumeration wordpress-vulnerability-scanner security

no-user-enumeration's Introduction

No User Enumeration Plugin

Stop user enumeration for security.

Description

In many WordPress installations is possible enumerate usernames through the author archives:

curl -s http://wpsite/?author=1
curl -s http://wpsite/?author=1/
curl -s http://wpsite/?bypass=1&author%00=1
curl -s http://wpsite/?author%00=%001
curl -s http://wpsite/?%61uthor=1

And recently wordpress since 4.7 comes with a rest api integrated that allow list users:

curl -s http://wpsite/wp-json/wp/v2/users/
curl -s http://wpsite/?rest_route=/wp/v2/users
curl http://wpsite/?_method=GET -d rest_route=/wp/v2/users

Know the username of a administrator is the half battle, now an attacker only need guest the password. This plugin stop it.

Also, is possible get usernames from the post entries. This plugin, hide the name of the author in a post entry if he is not using a nickname. Also, hide the url page link of an administrator author.

The main goal is hide the administrators usernames. Obviously, is better not choose "admin" as the username because is easiliy guessable.

Installation

  1. Upload no-user-enumeration to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress

Changelog

1.3.2 : Using WP_DEBUG not emit undefined index notice.

1.3.1 : Minor changes.

1.3.0 : Fix bypass protection using this:

curl http://wpsite/?_method=GET -d rest_route=/wp/v2/users

1.2.0 : Disallow list users using the rest api. Compatibility with plugin WP All Import.

1.1.0 : Hide admin usernames in post replies. Improved security.

1.0.0 : First version.

no-user-enumeration's People

Contributors

carlos-montiers avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.