Skip to content
IDOR Write-up Intermediate

Query Confusion: How HTTP Parameter Pollution Made the App Spill

The application was vulnerable to HTTP Parameter Pollution (HPP) because it processed duplicate parameters inconsistently, using the last value for authorization checks. An attacker could supply a second 'uid' parameter to access another user's profile data without authorization.

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

Root cause

Likely the application used different parameter values for authorization and data retrieval, causing a mismatch when duplicate parameters were supplied.

Impact

An attacker could bypass authorization and access sensitive personal information of other users, potentially leading to mass data exposure.

What the attacker needed

Valid authentication token; knowledge of target user IDs

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.

HTTP Parameter Pollution (HPP) happens when a web application receives multiple parameters with the same name and handles them inconsistently. For example, if a URL has two 'uid' parameters, the server might check permissions on the first one but actually use the second one to fetch data. This can let an attacker access information they shouldn't, like another user's profile.

What is IDOR?

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.

More by iski

View all

186 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.