Skip to content
Info disclosure Write-up Intermediate

PVS Story 2 — Further penetration testing after acquiring admin

An API endpoint returned excessive sensitive data about administrative users, including password hashes stored as unsalted MD5. An attacker with admin access could use this information to crack passwords and compromise further accounts.

El Professor Qais Follow

Published on medium.com

Hi and Salam’alaikum eveyone! Back again with me Qais MY Hunter!

El Professor Qais, 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 the API endpoint lacked proper access controls and returned excessive sensitive fields, and passwords were hashed with unsalted MD5.

Impact

An attacker with admin access could obtain password hashes and other sensitive data, potentially leading to account takeover and lateral movement.

What the attacker needed

Administrative access to the application

The fix

The API should enforce strict access controls and return only the minimum necessary data, and passwords should be stored using a strong, salted hashing algorithm.

How it was found

  1. Obtain administrative access to the web application.
  2. Enumerate API endpoints used by the application.
  3. Request the /Role/GetUserData endpoint.
  4. Observe that the response contains sensitive administrative user data including password hashes.

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.

After getting into an admin account, the tester found an API endpoint that gave back far more information than it should, including password hashes. A password hash is a scrambled form of a password; if it is made with a weak method like MD5, attackers can often unscramble it using free online tools. This extra data could help an attacker break into other accounts.

What is Info disclosure?

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

More by El Professor Qais

View all

5 more disclosed reports, best first.

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.