Skip to content
Access control Write-up Beginner

The Hidden Param That Opened the Vault: A Dirty Param Tampering

A dashboard parameter that selected the view mode could be changed to a debugging value, exposing an internal debugging panel with logs, environment variables and API keys. A second parameter controlling the caller's authorisation level could be set to an admin value, returning other users' personal data without any authorisation check.

iski Follow

Published on infosecwriteups.com

Free Link🎈

Iski, on infosecwriteups.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

Impact

An attacker could read other users' personal data and internal debugging information, and the author claims potential privilege escalation and account takeovers.

What the attacker needed

No account needed to send the requests; guessable parameter names

How it was found

  1. Collect URLs and parameters from archived and crawled sources, spotting a dashboard request with a mode parameter.
  2. Change the mode value to an admin-style value by hand and observe a forbidden response.
  3. Fuzz the mode parameter with a wordlist of privileged names and find a debug value returning a larger response.
  4. Open the debug response and see an internal debugging panel with logs, environment variables and API keys.
  5. Read JavaScript files to find an API endpoint taking a user identifier and an authorisation level.
  6. Send the request with the authorisation level set to an admin value and receive other users' personal 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.

Some web pages take settings from the address bar, such as which view to show. The author changed one of those settings to a value the developers never expected, and the server happily showed a private debugging screen. A second setting that was meant to say who you are could simply be rewritten to say 'admin', and the server returned other people's details.

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.

More by iski

View all

186 more disclosed reports, best first.

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.