Mozilla support cache poisoning to open redirect
Originally disclosed on Mozilla
- Fixed in 2 months
- Paid in 40 days
- Disclosed after 2 months
Hi,
I discovered a security vulnerability that allows an attacker to poison any legitimate user cache and redirect him/her to malicious websites designed to hijack the user's login credentials.
At first, I noticed a minor bug that was leading to an invalid redirection. When you add a slash to the last part of the URL such as :
https://support.mozilla.org/en-US//evil.Com (Bug 1)
You will be redirected to https://en-Us//Evil.Com which is not exploitable so far.
I also found that we can set arbitrary languages via: https://support.mozilla.org/en-US/locales?lang=test (Bug 2)
So when you browse to https://support.mozilla.org you will be redirect to :
https://support.mozilla.org/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/
Finally, I chained both bugs (1 and 2) to craft a successfull poisoning and redirect attack. When we send our victim the following link :
https://support.mozilla.org/en-US/locales?lang=/evilzone.org
The language will be set to /evilzone.org so when the victim browse to https://support.mozilla.org he/she will be redirected to https://support.mozilla.org//evilzone.org and due to our first bug the victim will be taken to https://evilzone.org
Notice that everytime the victim reloads https://support.mozilla.org he/she will automatically be redirect to our phishing/malicious page.
Final Exploitation : An attacker can simply post the following link in a support discussion or comment: https://support.mozilla.org/en-US/locales?lang=/evilzone.org once any SUMO user clicks on it, his/her browser cache will be poisoned, consequently the user will be redirected to evilzone.org each time he/she visits SUMO platform.
Proof Of Concept : https://www.youtube.com/watch?v=RZP3UDYjwac (Video publicly unlisted)
Kind regards
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A medium-severity doS bug in General. Mozilla made it public on 27 June 2016.
About DoS
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.