Closed
Bug 1348676
Opened 9 years ago
Closed 9 years ago
Reflected XSS qsurvey.mozilla.com
Categories
(Websites :: Other, defect)
Websites
Other
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: tyhawk9, Unassigned)
References
(
URL
)
Details
(Keywords: reporter-external, sec-low, Whiteboard: [reporter-external] [web-bounty-form] [verif?])
There is reflected XSS in the referrer header at
https://qsurvey.mozilla.com/s3/onboarding
header value: http://www.google.com/search?hl=en&q=y0rj6"><script>alert(document.domain)</script>v6opl
Flags: sec-bounty?
Updated•9 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 1•9 years ago
|
||
Tyler: thanks for reporting this. I have confirmed the behavior you described above. In the future, if you could include the exact request or a PoC that demonstrates it that would speed up our triage of your issue. Something like this would have been sufficient...
GET /s3/onboarding HTTP/1.1
Host: qsurvey.mozilla.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:53.0) Gecko/20100101 Firefox/53.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Referer: http://www.google.com/search?hl=en&q=y0rj6"><script>alert(document.domain)</script>v6opl
Connection: close
Upgrade-Insecure-Requests: 1
Cache-Control: max-age=0
This site is hosted by a vendor, so we'll be reaching out to them shortly resolution assistance.
Keywords: sec-low
Comment 2•9 years ago
|
||
Email sent to the vendor with PoC.
FYI - greg/tyler
Flags: needinfo?(tdowner)
Flags: needinfo?(glind)
Comment 3•9 years ago
|
||
For clarity, this reflected XSS is not a simple give someone a link and let them follow to get XSS content. Exploit scenario would more likely look like attacker convinces user to visit attacker controlled site with a URL similar to this...
http://evil.com/y0rj6"><script>alert(document.domain)</script>v6opl
...which would contain a link to qsurvey.mozilla.com/s3/onboarding that when clicked would build a similar payload as above and cause the arbitrary Javascript to be executed in the context of qsurvey.mozilla.com. It's also my understanding that users don't maintain any login information to this site, so defacement is probably most interesting outcome here.
| Reporter | ||
Comment 4•9 years ago
|
||
Yes, it cannot be reproduced through just the url, so the actual request would have to be repeated by the victim, which could be done through an attacker site. I believe that if a javascript keylogger were implemented, it could be also used to gather information about the submitted survey. I will make sure to include the request the next time I submit to your program
| Reporter | ||
Comment 5•9 years ago
|
||
input.mozilla.org is also affected. The GET request below demonstrates the same vulnerability present in the qsurveys subdomain.
GET /feedback HTTP/1.1
Host: input.mozilla.org
Accept: */*
Accept-Language: en
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0)
Connection: close
Referer: http://www.google.com/search?hl=en&q=gm6cr"><script>alert(1)</script>odmhj
Comment 6•9 years ago
|
||
Tyler: both of these are hosted by the same vendor. We often consider qsurvey/input one in the same. Thanks for clarifying though, in the case we didn't know this.
| Reporter | ||
Comment 7•9 years ago
|
||
Yes, I just saw that they both resolved to the same ip, they just looked like different pages at first, but thank you for the clarification. Would this qualify for a bug bounty from mozilla or the vendor this is hosted by?
Comment 8•9 years ago
|
||
Tyler: We characterize this as a sec-low issue on a non-eligible site. It's unlikely we will offer a bounty for this particular issue.
Comment 9•9 years ago
|
||
Surveygizmo has been notified, and they have assigned this as a High Priority issue. I will follow up when they fix this on their end.
Flags: needinfo?(tdowner)
Updated•9 years ago
|
Flags: needinfo?(glind)
| Reporter | ||
Comment 10•9 years ago
|
||
Would it be possible for you to put me into contact with someone from surveygizmo, or ask on my behalf to inquire about a possible and montetary reward for this issue?
Comment 11•9 years ago
|
||
Tyler: yeah, I'd be happy to do that and give them your name/email. It's my understanding they don't have a bug bounty program, but it's possible they may acknowledge you.
Comment 12•9 years ago
|
||
Tyler: I reached out to the vendor and relayed your name and email in the case they decide to offer a bounty/acknowledgement. Thanks again!
| Reporter | ||
Comment 13•9 years ago
|
||
Okay great, I appreciate it! Just trying to see if i can get something out of this besides the learning experience haha. Glad I could help out though, and i will be sure to include the full request in my future reports!
Comment 14•9 years ago
|
||
This has been addressed by the vendor.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Flags: sec-bounty? → sec-bounty+
Updated•7 years ago
|
Group: websites-security
Updated•2 years ago
|
Keywords: reporter-external
You need to log in
before you can comment on or make changes to this bug.
Description
•