Subdomain Takeover at qsurvey.mozilla.com via bypass # 4
The subdomain qsurvey.mozilla.com pointed to a third-party survey service, and the reporter found a way to bypass the service's custom domain feature to take control of the subdomain. An attacker could then host fake login forms or phishing pages on the trusted Mozilla subdomain.
- Fixed in 13 days
- Paid in 13 days
- Disclosed after 13 days
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/603.2.4 (KHTML, like Gecko) Version/10.1.1 Safari/603.2.4
Steps to reproduce:
Summary
(this is a new bypass for takeover qsurvey.mozilla.com subdomain)
Hi team, i report this critical issue, i’been able to complete takeover the subdomain qsurvey.mozilla.com
this subdomain is pointing to an external 3rd party service (surveygizmo.com)
I veen able to bypass the branded custom domain feature and Takeover the Subdomain
Reproduction Steps & Poc
1) Go to http://qsurvey.mozilla.com/reportsview/?key=560311-7272117-3cadb2fe215544bac4d4abb5a797abdc&pfl=2-5f49b13375f8f20dccc712278dd2a020
2) You see the alert box and the Subdomain Takeover
Security Impact
An attacker can utilize this the vulnerable domain for targeting the organization by fake login forms, spread phishing, steal sensitive Users information (site accounts, steal credentials, cookies, credit card information, etc)
FIX & MITIGATION
*Contact vendor asap for patch or launch a Fix (surveygizmo.com)
[ SurveyGizmo Section ]
1) Go to reports
2) Create “profile report”
3) At https://app.surveygizmo.com/Reports/profilelist/reportid/[xxxxx]/id/[xxxxxx] you can see “public link”, Use it and change it with any other vulnerable domain like qsurvey.mozilla.com
4) You see the subdomain takeover and alert popup
PoC link -> http://qsurvey.mozilla.com/reportsview/?key=560311-7272117-3cadb2fe215544bac4d4abb5a797abdc&pfl=2-5f49b13375f8f20dccc712278dd2a020
-
Please let me know if more info needed or any help,
Best Regards,
@ak1t4
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 a flaw in the third-party survey service's custom domain verification allowed an attacker to associate an arbitrary domain with a survey report, leading to subdomain takeover.
Impact
An attacker could use the vulnerable domain for phishing, fake login forms, and stealing user information such as credentials and cookies.
What the attacker needed
Access to the third-party survey service; ability to create a profile report; victim visits the crafted URL
The fix
The third-party survey service should be contacted to patch the custom domain feature, or a fix should be launched.
How it was found
- Visit the provided qsurvey.mozilla.com URL with specific parameters.
- Observe an alert box and the subdomain takeover.
- In the survey service, create a profile report.
- Use the public link from the report and change it to the vulnerable domain.
- Observe the subdomain takeover and alert popup.
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 subdomain is a prefix like 'qsurvey' added to a main domain. If that subdomain points to an external service that no longer recognises it, someone else can claim it and serve their own content. Here, the reporter found a way to make the survey service show their content on Mozilla's subdomain, which could be used to trick users.
What is Subdomain takeover?
A company's DNS still points at a cloud service it no longer uses, so anyone can claim it and serve content on the company's domain.