Skip to content
Info disclosure Write-up Beginner

How Casual Browsing Uncovered a Chain of Critical Vulnerabilities

A WordPress site's public REST API exposed unauthenticated user data such as admin names and roles, and a public backup file contained full database credentials. The author also found a login form without rate limiting, a SQL injection confirmed by a time-delay payload, a possible reflected XSS, a password reset endpoint with no CAPTCHA or brute-force control, and missing security headers.

A S Kshatriya Follow

Published on medium.com

Cybersecurity isn’t always glamorous. Sometimes, it’s late nights at your desk, Burp Suite humming in the background, and your mom calling you to help with groceries.

A S Kshatriya, on medium.com

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

Likely a combination of misconfiguration (public REST API and backup file) and missing input validation and rate limiting on authentication endpoints.

Impact

An attacker could obtain admin usernames and database credentials, attempt to brute-force the login and password reset, and potentially inject SQL or script, though the text does not show these were exploited.

What the attacker needed

None for API and backup file; network access to the site

How it was found

  1. Passively enumerate the WordPress REST API and observe unauthenticated responses containing user data.
  2. Locate a publicly accessible backup file containing database credentials.
  3. Test the login form for rate limiting and observe multiple attempts are allowed.
  4. Send a time-delay payload to the login form and confirm SQL injection.
  5. Test reflected script input and note a possible XSS flaw.
  6. Inspect HTTP response headers and note missing Strict-Transport-Security and exposed backend versions.

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.

This is a write-up by someone learning security who looked at a public website without breaking in. They found that the site's API gave away user details to anyone, a backup file with database passwords was publicly reachable, and the login page let you try many passwords and accepted input that could run database commands. They reported it privately to the site owner instead of exploiting it.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.