Access control bypass due to request precedence issue in global input registration
A regression in Revive Adserver 6.0.0 to 6.0.8 made the application read object identifiers from GET parameters in preference to POST parameters, so permission checks and form submissions could refer to different objects. A manager could put their own agency's identifier in the URL and another agency's identifier in the submitted form, allowing unauthorised changes, campaign reassignment and access to other agencies' inventory.
- Triaged in 4 hours
- Fixed in 22 days
- Disclosed after 4 months
Summary by the program
Description
HackerOne community member kushbafti has reported an authorization bypass affecting multiple administration pages in Revive Adserver 6.0.0 through 6.0.8. The regression was introduced in commit 156dee7bc during input-helper simplification. Version 5.5.3 retains the original POST-first behavior and is not affected by this regression. Object identifiers used for permission checks were read with GET precedence, while form submissions could select different objects through POST parameters. A manager could supply identifiers belonging to their own agency in the URL and another agency in the submitted form, allowing unauthorized changes, campaign reassignment and access to other agencies' inventory.
Resolution
Global input registration now gives POST parameters precedence over GET parameters, so permission checks and submitted form values use the same object identifiers.
Security advisory
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a regression in the global input registration helper that gave GET parameters precedence over POST parameters, so authorisation checks and the values actually used by the form were taken from different sources.
Impact
A manager-level user could make unauthorised changes, reassign campaigns and reach other agencies' inventory; the text does not claim impact beyond that role.
What the attacker needed
An account with manager-level rights; affected version 6.0.0 to 6.0.8
The fix
It was fixed by changing global input registration so POST parameters take precedence over GET parameters, making permission checks and form values use the same identifiers.
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 report has not been written yet. The Original tab links to the source.
Many web apps take values from two places in a request: the URL (GET) and the submitted form body (POST). Here the app checked permissions using the value in the URL but then acted on the value in the form, so the two could disagree. A user with limited rights could therefore make the app change records belonging to a different group.
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.