misconfigured CORS let to HPP and SOP bypass
The report claims a misconfigured CORS policy allowed bypassing the Same-Origin Policy; the attacker could direct a victim to a phishing login page to steal credentials or hijack a CSRF token to send a password or email reset link.
Originally disclosed on HackerOne
- Disclosed after 24 hours
Hello team, I found a bug on your website that let me bypass the SOP policy. Hope you fix it, everything is in the video
https://www.youtube.com/watch?v=PYsU350S-s4
Impact
The attacker my direct a victim to a phishing page of www.bitterrent.com/login and he/she will be convince to enter their email and password or even hijack csrf-token and sending him a password or email reset link. I also found a link that expose the csrf-token on the URL and you should check this link in the black.svg host header URL
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
Impact
An attacker could lure a victim to a fake login page to steal credentials, or hijack a CSRF token to send a password or email reset link.
What the attacker needed
Victim visits attacker page; victim is convinced to enter credentials
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.
Websites use the Same-Origin Policy (SOP) to stop one site from reading another site's data. CORS is a controlled way to relax that rule, but if it is set up wrongly, another site can read responses it should not. Here the reporter says that happened, and also mentions a link that leaks a CSRF token (a secret value used to protect forms) in the URL.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.