Flash CSRF: Update Ad Frequency %: [cp-ng.pinion.gg]
A user's ad frequency setting could be changed without their consent because the endpoint accepted a cross-site POST request. An attacker could make a logged-in victim visit a malicious page and silently update their ad frequency percentage.
- Triaged in 2 hours
- Fixed in 46 days
- Paid in 46 days
- Disclosed after 47 days
Summary by the researcher
####For readers: http://www.geekboy.ninja/blog/exploiting-json-cross-site-request-forgery-csrf-using-flash/
The report
###Description:
Attacker can update the user's Ad Frequency % using flash + 307 redirect trick by making post request to particular endpoint.
###Step To Reproduce:
- Get logged at: https://cp-ng.pinion.gg
- Visit: http://geekboy.ninja/poc/freq.swf
- Ad Frequency should be updated.
Note: for test i used my account with id ████, as update request use userid in endpoint, it can be modified as per need.
Please let me know if any more info needed !
- Geekboy!
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 the endpoint that updates the ad frequency accepted POST requests without a CSRF token or origin check, and Flash plus a 307 redirect was used to send a cross-site POST.
Impact
An attacker could change a victim's ad frequency setting without their knowledge, though the report does not show any wider account takeover.
What the attacker needed
Victim is logged in; victim visits attacker page
How it was found
- Log in to the control panel at the given host.
- Visit the attacker's proof-of-concept Flash file.
- The ad frequency setting is updated on the logged-in account.
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.
A malicious Flash file could make a logged-in user's browser send a request that changes a setting on their account.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.