flashmediaelement.swf XSS in qsurvey.mozilla.com
The domain qsurvey.mozilla.com points via CNAME to a shared SurveyGizmo domain, and the reporter suggests that anyone could sign up for a paid SurveyGizmo account and serve surveys with embedded JavaScript under the Mozilla domain, leading to persistent XSS. The vulnerability was not verified.
Fredrik Nordberg Almroth Follow
Originally disclosed on Mozilla
- Fixed in 55 days
- Paid in 4 days
- Disclosed after 55 days
Please note that I have not verified this vulnerability.
The domain qsurvey.mozilla.com have a CNAME pointer to privatedomain.sgizmo.com. This gives us some intel: only US-based Surveygizmo accounts should point to privatedomain.sgizmo.com, and the account's payment plan has to be a either professional or enterprise.
By requesting http://qsurvey.mozilla.com/ a single redirect it made to http://www.surveygizmo.com/.
This is a strong indication that you either had, or have an inactive account on Surveygizmo. If you don't have an account, then it should be possible for anyone to sign up as a customer, pay $65 for a professional plan, and start serve surveys in the context of qsurvey.mozilla.com. As Surveygizmo allows JavaScript to be embedded in surveys, persistent XSS should be trivial.
The reason I have not validated my claims is because I'm not in the US, it's late, and there's a paywall.
Here's some references:
curl -I "http://qsurvey.mozilla.com/"
HTTP/1.1 301 Moved Permanently
Content-length: 0
Location: http://www.surveygizmo.com/
Connection: close
https://help.surveygizmo.com/help/article/link/adding-javascript-to-your-survey
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 CNAME delegation to a third-party survey platform that allows customer-supplied JavaScript, without ensuring that only authorised Mozilla accounts can use the domain.
Impact
If the assumptions hold, an attacker could run JavaScript in the context of qsurvey.mozilla.com, potentially affecting visitors, but the report is unverified and depends on being able to sign up and pay for a SurveyGizmo plan.
What the attacker needed
Attacker can sign up for SurveyGizmo; pay for professional or enterprise plan; victim visits qsurvey.mozilla.com
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 CNAME is a DNS record that points one domain name to another. Here, qsurvey.mozilla.com points to a domain used by a survey service. If that service lets customers add JavaScript to surveys, an attacker could potentially run their own code on the Mozilla domain, which is cross-site scripting (XSS). The reporter did not actually test this.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.