CVE-2017-5487

MEDIUM

WordPress < 4.7.1 - Unauthorized User Information Exposure via REST API

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 12 public exploits for CVE-2017-5487. PoCs published by Dctor, K3ysTr0K3R, patilkr.

AI-analyzed exploit summary This script queries the WordPress REST API endpoint to enumerate user information. It does not exploit a vulnerability but scans for exposed user data via the API.

Description

wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php in the REST API implementation in WordPress 4.7 before 4.7.1 does not properly restrict listings of post authors, which allows remote attackers to obtain sensitive information via a wp-json/wp/v2/users request.

Exploits (12)

exploitdb SCANNER
by Dctor · phpwebappsphp
https://www.exploit-db.com/exploits/41497

This script queries the WordPress REST API endpoint to enumerate user information. It does not exploit a vulnerability but scans for exposed user data via the API.

Classification
Scanner 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: WordPress (versions affected by CVE-2017-5487)
No auth needed
Prerequisites: WordPress REST API endpoint accessible
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 8 stars
by K3ysTr0K3R · poc
https://github.com/K3ysTr0K3R/CVE-2017-5487-EXPLOIT

This PoC exploits CVE-2017-5487, a WordPress REST API user enumeration vulnerability, by querying the /wp-json/wp/v2/users/ endpoint to disclose sensitive user information. It supports both single URL and bulk file-based scanning with multi-threading.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: WordPress 4.7 before 4.7.1
No auth needed
Prerequisites: Target running vulnerable WordPress version · Network access to the WordPress REST API
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec SCANNER 2 stars
by patilkr · poc
https://github.com/patilkr/wp-CVE-2017-5487-exploit

This repository contains a Python script that scans for CVE-2017-5487, a WordPress REST API information disclosure vulnerability. It queries the `/wp-json/wp/v2/users/` endpoint to retrieve user data without authentication.

Classification
Scanner 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: WordPress (versions affected by CVE-2017-5487)
No auth needed
Prerequisites: Target WordPress site with REST API enabled and vulnerable to CVE-2017-5487
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 2 stars
by GeunSam2 · poc
https://github.com/GeunSam2/CVE-2017-5487

This PoC exploits CVE-2017-5487, a vulnerability in WordPress REST API that allows unauthorized post editing. The script interacts with the WordPress REST API to enumerate users, posts, and edit posts without proper authentication.

Classification
Working Poc 90%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: WordPress (versions affected by CVE-2017-5487)
No auth needed
Prerequisites: WordPress REST API enabled · Target running vulnerable WordPress version
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 1 stars
by R3K1NG · poc
https://github.com/R3K1NG/wpUsersScan

This repository contains a Python script that exploits CVE-2017-5487, a WordPress REST API vulnerability allowing username enumeration in versions < 4.7.1. The script sends requests to the vulnerable endpoint and parses the JSON response to list user IDs, names, and usernames.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: WordPress < 4.7.1
No auth needed
Prerequisites: Target WordPress site with REST API exposed · WordPress version < 4.7.1
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by ndr-repo · poc
https://github.com/ndr-repo/CVE-2017-5487

This repository contains two PowerShell scripts that exploit CVE-2017-5487, a WordPress REST API user enumeration vulnerability. The scripts query the `/wp/v2/users` endpoint (and an alternative route for WAF bypass) to retrieve user data, including usernames, IDs, and metadata.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: WordPress 4.7.x (REST API)
No auth needed
Prerequisites: Target WordPress site with REST API enabled · Network access to the target
devstral-2 · analyzed Feb 16, 2026 Full analysis →
github WORKING POC
by Anzinius · pythonpoc
https://github.com/Anzinius/CVE-PoC-Collection/tree/main/cve-2017-5487

The repository contains functional exploit code for CVE-2017-5487, an information disclosure vulnerability in WordPress versions 4.7.0 and earlier. The exploit sends a GET request to the /wp-json/wp/v2/users endpoint to retrieve user details without proper access controls.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: WordPress versions 4.7.0 and earlier
No auth needed
Prerequisites: Target WordPress site with vulnerable version · Network access to the target
devstral-2 · analyzed Feb 27, 2026 Full analysis →
nomisec WRITEUP
by tpdlshdmlrkfmcla · poc
https://github.com/tpdlshdmlrkfmcla/cve-2017-5487

This repository contains a detailed writeup in Korean explaining CVE-2017-5487, a WordPress REST API information disclosure vulnerability affecting versions prior to 4.7.1. It includes background on REST APIs, exploitation steps, and a simple PHP script to fetch user data via the vulnerable endpoint.

Classification
Writeup 100%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: WordPress < 4.7.1
No auth needed
Prerequisites: Access to the WordPress REST API endpoint
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by dream434 · poc
https://github.com/dream434/CVE-2017-5487

This PoC exploits CVE-2017-5487, a WordPress REST API vulnerability that leaks user information. It iterates through user IDs to retrieve usernames via unauthenticated API endpoints.

Classification
Working Poc 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: WordPress (versions affected by CVE-2017-5487)
No auth needed
Prerequisites: Python 3.x · requests library · target WordPress site with vulnerable REST API
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec SCANNER
by SeasonLeague · poc
https://github.com/SeasonLeague/CVE-2017-5487

This is a Python-based scanner for CVE-2017-5487, which exploits a WordPress REST API information disclosure vulnerability. It queries the `/wp-json/wp/v2/users/` endpoint to retrieve user data without authentication.

Classification
Scanner 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: WordPress (versions with vulnerable REST API endpoints)
No auth needed
Prerequisites: Target WordPress site with exposed REST API
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec SCANNER
by zkhalidul · poc
https://github.com/zkhalidul/GrabberWP-CVE-2017-5487

This script scans LeakIX for WordPress instances vulnerable to CVE-2017-5487 (REST API user enumeration) and extracts user credentials. It does not exploit the vulnerability but automates discovery of exposed endpoints.

Classification
Scanner 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: WordPress (versions affected by CVE-2017-5487)
No auth needed
Prerequisites: Access to LeakIX or similar search engine · WordPress sites with exposed REST API endpoints
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by teambugsbunny · poc
https://github.com/teambugsbunny/wpUsersScan

This repository contains a Python script that enumerates WordPress usernames via the REST API vulnerability (CVE-2017-5487) affecting WordPress versions < 4.7.1. It sends HTTP requests to the vulnerable endpoint and parses JSON responses to extract user details.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: WordPress < 4.7.1
No auth needed
Prerequisites: Target URL with WordPress < 4.7.1 · Network access to the target
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (9)

Core 9
Core References
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/41497/
Third Party Advisory x_refsource_misc
https://wpvulndb.com/vulnerabilities/8715
Release Notes, Vendor Advisory x_refsource_confirm
https://codex.wordpress.org/Version_4.7.1
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2017/01/14/6
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id/1037591
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/95391

Scores

CVSS v3 5.3
EPSS 0.8730
EPSS Percentile 99.7%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Details

CWE
CWE-200
Status published
Products (1)
wordpress/wordpress < 4.7
Published Jan 15, 2017
Tracked Since Feb 18, 2026