PHP code injection via unexpected delivery limitation parameter
A low-privileged user could add an unexpected component parameter when saving delivery limitations, injecting PHP code into the compiledlimitations field. That code would then be executed during banner delivery.
Originally disclosed on HackerOne
- Disclosed after 16 days
Summary by the program
HackerOne community member rajib_mahmud has reported a missing validation of user input when saving delivery limitations in Revive Adserver 6.0.6 and earlier. A low‑privileged user could add an unexpected component parameter and inject malicious PHP code into the compiledlimitations field, which would then be executed during banner delivery.
Input sanitisation has been improved to ensure that unexpected parameters are filtered out.
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 missing validation and filtering of unexpected input parameters when saving delivery limitations, allowing user input to reach the compiledlimitations field.
Impact
A low-privileged user could inject PHP code that would be executed during banner delivery.
What the attacker needed
A low-privileged account
The fix
Input sanitisation was improved to filter out unexpected parameters.
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.
Delivery limitations are rules that decide when an advert is shown. The software saved a hidden extra field without checking it, so a user with limited rights could slip in PHP code, a programming language the server runs. When adverts were served, that code ran on the server.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.