How a College Website’s REST API Exposed Its Entire Attack Surface — User Enumeration…
The WordPress REST API on a college website exposed valid usernames, plugin versions and several unauthenticated plugin endpoints, including a Popup Maker install route and an AIOS two-factor validation route. An attacker could use this information to target a shared content account and potentially install plugins or modify content, though no exploitation was performed.
Published on medium.com
By Padmesh P S | Cybersecurity Researcher | 6 min read | Severity: High/Critical
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The site relied on hiding the login page and blocking common WordPress paths while leaving the REST API and plugin readme files publicly accessible.
Impact
The exposure could let an attacker enumerate users, fingerprint vulnerable plugins and, if credentials or token checks were weak, install plugins or modify content; the text notes no exploitation was performed and that AIOS blocked some other vectors.
What the attacker needed
No authentication needed for enumeration; target runs WordPress with REST API open; shared content account exists
The fix
The REST API should be restricted so user lists and plugin routes are not publicly reachable, plugin readme files should not be served, and shared agency accounts should be removed or tightly controlled.
How it was found
- Request the WordPress users REST endpoint and its alternate rest_route form to list accounts.
- Fetch each plugin's readme file to record names and versions.
- Enumerate plugin REST routes to find unauthenticated endpoints.
- Note that the REST API root advertises Application Password support.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A website's REST API is a way for programs to talk to it and get data back. Here, the site handed out a list of real usernames and the exact versions of its plugins to anyone who asked, without needing to log in. That gives an attacker a ready-made shopping list for guessing passwords or looking up known bugs in those plugin versions.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.