Skip to content
Access control Write-up Beginner

How a Resend-Link Flow Exposed Critical User PIIs ( CWE-284 )

An administrative API endpoint that listed all users was accessible to any logged-in user, including unverified accounts, after they triggered a resend-link action. An attacker could retrieve email addresses, names, agency affiliations, hashed passwords and secret tokens for every user.

medium.com

Published on medium.com

I discovered a critical access control vulnerability in an administrative API that exposed sensitive personally identifiable information ( PII ) for all users. The flaw, embedded in the account signup and verification flow at “https://redacted.com/signup”, allowed an unverified, low-privileged user to access a…

4osp3l, 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

The API endpoint lacked an authorisation check to confirm the requesting user had administrative privileges.

Impact

An unverified, low-privileged user could access sensitive PII for all users, including email addresses, names, agency affiliations, hashed passwords and secret tokens; the company rated it high severity, downgraded from critical likely because no data modification occurred.

What the attacker needed

A free account; victim logs in first; trigger resend-link action

The fix

The issue was addressed by the platform's security team after responsible disclosure.

How it was found

  1. Create an account on the signup page with valid details.
  2. Log in with the new credentials; the account remains unverified.
  3. Intercept the request sent when clicking the 'Resend link' button.
  4. Modify the request URL to point to the admin users endpoint.
  5. Send the modified request and receive a JSON list of all users' data.

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 had a special page meant only for administrators that listed all user details. The site did not check whether the person asking was an administrator, so any normal user who had logged in could see everyone's private information.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.