Closed Bug 1378934 Opened 9 years ago Closed 9 years ago

Takeover qsurvey.mozilla.com / Multiple Vulnerabilities

Categories

(Websites :: Other, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: adeveloper870, Assigned: allysa.netzel)

Details

(Keywords: reporter-external, wsec-takeover)

Attachments

(2 files)

Attached image qsurvey-mozilla-com.png —
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: # DESCRIPTION Hi team, i found some issues at SG (survey gizmo) who permit an attacker create arbitrary content and use qsurvey.mozilla.com subdomain as own. # REPRODUCTION STEPS & POC *ISSUE1 # TAKEOVERS LINK POC #1 1) Go to http://qsurvey.mozilla.com//s3/3684742/8f95c5a8a547 2) You see the arbitrary content injected LINK POC #2 1) Go to http://qsurvey.mozilla.com//s3/3684742/Hacked-by-Ak1t4 2) You see the arbitrary content injected *ISSUE 2 # DOWNLOAD ARBITRARY FILE / EVIL CONTENT INJECTION Vulnerable Link #1 1) Go to http://qsurvey.mozilla.com/pro/html2pdf/generateArticlePdf.php?article_content=http://qsurvey.mozilla.com//s3/3684742/Hacked-by-Ak1t4 2) Open document and click on link [CLICK-ME] Vulnerable Link #2 http://qsurvey.mozilla.com/pro/html2pdf/generateapple_landscape.php?URL=https://www.surveygizmo.com/s3/3684742/Hacked-by-Ak1t4 2) Open document and click on link [CLICK-ME] # ADDITIONAL INFO *ATTACK VARIATIONS http://qsurvey.mozilla.com//s3/3684742/Hacked-by-Ak1t4 http://qsurvey.mozilla.com//s3/3684742/8f95c5a8a547 http://qsurvey.mozilla.com///s3/3684742/Hacked-by-Ak1t4 http://qsurvey.mozilla.com//s3/3684742/8f95c5a8a547 http://qsurvey.mozilla.com//\s3/3684742/Hacked-by-Ak1t4 http://qsurvey.mozilla.com//s3/3684742/8f95c5a8a547 http://qsurvey.mozilla.com///\s3/3684742/Hacked-by-Ak1t4 # SECURITY IMPACT This issues impact directly in mozilla survey's user. An attacker can utilize this issues with malicious purposes, 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) - Please let me know if more info needed or any help for fix this asap. Best Regards, @ak1t4
This feels like the same issue as described in bug 1363834, bug 1344213, and bug 1368780. How is this different? I'm trying to get to a root cause fix here.
Flags: needinfo?(allysa.netzel)
Flags: needinfo?(adeveloper870)
Hi Jonathan, yes, they are similar and the impact is practically the same.
Flags: needinfo?(adeveloper870)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Hello - I passed this information along to my team and they had questions about the reproduction steps. Could we get more detailed information on how we can reproduce this? Thank you.
Flags: needinfo?(allysa.netzel)
ak1t4: Please see Ally's request in comment 4.
Flags: needinfo?(adeveloper870)
Assignee: nobody → allysa.netzel
Status: NEW → ASSIGNED
Hi jonathan, i re-test the issues, *mostly seems fixed* , now are redirecting to amazon s3 instance -> http://s3.amazonaws.com/sgpublic/errorpages/surveyNotFound.html There 1 issue still remind, this enpoint: http://qsurvey.mozilla.com/pro/html2pdf/generateapple_landscape.php?URL=https://www.surveygizmo.com/s3/3684742/Hacked-by-Ak1t4 1) Go to http://qsurvey.mozilla.com/pro/html2pdf/generateapple_landscape.php?URL=https://www.surveygizmo.com/s3/3684742/Hacked-by-Ak1t4 2) Download Pdf (wait some seconds...) , open document and click over link CLICK-ME *Description: This issue utilize use html2pdf (SG tool) to generate a pdf from any url, the issue permit use survey.mozilla.com as subdomain and inject arbitrary evil content into it.
Flags: needinfo?(adeveloper870)
My team confirmed that the issue causing this vulnerability was shut down today!
ak1t4: can you confirm this is no longer an issue? alley: can you clarity whether the core issue of how this was added is fixed or whether this was a per survey solution?
Ally: nice! that was fast.. jonathan: i re-test all issue and seems fixed form this side. *Those last two issues they were some dangerous not only for mozilla side but for SG-Server-Side since the two .php files was seted with public permission and could have been used for 'possibles' LFI/LFD/RCE attacks.
The core issue was fixed, it was something created in legacy that was only being used by 3 customers so it was shut down.
Ally: thanks!
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Hi, seems all resolved, sorry for ask, this issues are valid for bounty? regards, @ak1t4
Flags: sec-bounty?
ak1t4: apologies, the bounty flag was missing and thus was off our radar (now set properly and will be touched within a week)
jonathan:no problem, thanks for your great support and work, is really appreciated. kind regards,
Flags: sec-bounty? → sec-bounty+
Group: websites-security
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: