Closed
Bug 947909
Opened 12 years ago
Closed 12 years ago
xss for logged-in users on input.mozilla.org
Categories
(Input Graveyard :: Frontend, defect, P1)
Input Graveyard
Frontend
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: curtisk, Assigned: willkg)
Details
(Keywords: reporter-external, sec-moderate, wsec-xss, Whiteboard: u=user c=login p=1 s=input.2013q4 [site:input.mozilla.org][reporter-external])
Attachments
(2 files)
Greetings,
I am Edis Konstantini, a Security Researcher. I was looking to hunt something in mozilla web app sites and I found A Cross Site Scripting Vulnerability and Browser Bug.
Well, The vulnerable domain is https://input.mozilla.org
I guess it's not in scope but if you can make an exception and reward me, that would make me so happy. Since I've never had chance to secure Mozilla :)
Well Whatever, here's a parameter in input.mozilla.org/en-US/new_user?next=
The next parameter is about (new url redirection) and we try a possible vector(the simpliest) javascript:prompt(document.cookie);> and after we click :Onwards to your destination. and Javascript get's executed Succesfully.
So the Full Exploitable url can be shown like:
https://input.mozilla.org/en-US/new_user?next=javascript:prompt%28document.cookie%29
And here's the Proof of Concept showing the pop-up with cookies:XSS in Mozilla.JPG (115K)
Also the next tab is being opened as url javascript:prompt(document.cookie)
I guess this is a Browser Vulnerability, here's proof of concept for this too:
<image.png>
I can also give you hints on fixing this next= (parameter) XSS.
you can disable the " > < prompt alert confirm (filter) and there would be no XSS.
If you do not understand (step-by step) so I can make a Video Proof of concept showing these issues. :)
I hope you issue a bounty for this submission.
-Edis Konstantini
<XSS in Mozilla.JPG>
| Reporter | ||
Comment 1•12 years ago
|
||
| Reporter | ||
Comment 2•12 years ago
|
||
| Reporter | ||
Comment 3•12 years ago
|
||
assigned to adam for verification
Assignee: nobody → amuntner
Whiteboard: [site:input.mozilla.org][reporter-external][verif?]
Updated•12 years ago
|
Whiteboard: [site:input.mozilla.org][reporter-external][verif?] → [site:input.mozilla.org][reporter-external]
Comment 4•12 years ago
|
||
Verified. The XSS is for logged in users. After you login, the link text "Onwards to your destination." contains the XSS.
| Reporter | ||
Updated•12 years ago
|
Assignee: amuntner → nobody
Flags: sec-bounty?
| Reporter | ||
Comment 5•12 years ago
|
||
added reporter to the cc list
Comment 6•12 years ago
|
||
Hi, Thanks for adding me as CC. I hope it's valid for a reward, i think input.mozilla.org is well known/active domain!
| Reporter | ||
Comment 7•12 years ago
|
||
(In reply to ediskonstantini from comment #6)
> Hi, Thanks for adding me as CC. I hope it's valid for a reward, i think
> input.mozilla.org is well known/active domain!
This site is not officially in our list of eligible sites. If the bug is extraordinary we sometimes offer bounties for interesting bugs which are outside of normal policy.
We do appreciate learning about bugs in all of our sites. We publish a list of eligible sites for people who are only interested in bounties and we hope that can help reduce the frustration of wasting time in unfruitful areas.
http://www.mozilla.org/security/bug-bounty-faq-webapp.html#eligible-bugs
Comment 8•12 years ago
|
||
Hi, so you mean no bounty for this bug? i think its pretty out of mind bug, because if it would be not like it someone else would report it long time ago. I guess Adam is in charge of Bounty issues?
| Reporter | ||
Comment 9•12 years ago
|
||
(In reply to ediskonstantini from comment #8)
> Hi, so you mean no bounty for this bug? i think its pretty out of mind bug,
> because if it would be not like it someone else would report it long time
> ago. I guess Adam is in charge of Bounty issues?
No I am not saying that, this bug is not in the normal bounty list but is nominated (sec-bounty?) for consideration. The bug will be evaluated, and if found to represent a High or Critical issue then the bounty committee will evaluate this issue and make a decision on eligibility.
Comment 10•12 years ago
|
||
Bugs don't get fixed when they languish in an "Other" or "General" component. It shouldn't be considered triaged until we've found it a home.
Component: other.mozilla.org → Frontend
Product: Websites → Input
Summary: xss input.mozilla.org → xss for logged-in users on input.mozilla.org
Comment 11•12 years ago
|
||
Will would be the engineer on this. Not sure if he has access but I'll CC just in case.
| Assignee | ||
Comment 12•12 years ago
|
||
Grabbing this to work on.
Assignee: nobody → willkg
Status: NEW → ASSIGNED
Priority: -- → P1
Whiteboard: [site:input.mozilla.org][reporter-external] → u=user c=login p=1 s=input.2013q4 [site:input.mozilla.org][reporter-external]
| Assignee | ||
Comment 13•12 years ago
|
||
In a PR: https://github.com/mozilla/fjord/pull/191
Landed in master in: https://github.com/mozilla/fjord/commit/3c94a56
Pushed to production just now. Marking this as FIXED.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 14•12 years ago
|
||
Most people who interact with Input don't log in. There's absolutely zero reason to create an account let alone log in unless you're one of the three or so people who are currently in the Analyzer's group. All users except those three or so have no additional privileges on the site. They can't do anything an anonymous user can't do.
Right now, there are 223 accounts on the site (for reasons I can't possibly fathom). In order for this XSS to work, a user in the Analyzer's group has to be logged in already and then get the XSS-laden url.
That's astronomically unlikely. Further, it's going to remain that way for some time since we have no plans for adding anything interesting for regular users that anonymous users can't also access.
That's the context of this issue.
Having said that, not sanitizing the next_url was a total fuckup on my part. I really appreciate Edis pointing it out.
Comment 15•12 years ago
|
||
(In reply to Will Kahn-Greene [:willkg] from comment #14)
> Most people who interact with Input don't log in. There's absolutely zero
> reason to create an account let alone log in unless you're one of the three
> or so people who are currently in the Analyzer's group. All users except
> those three or so have no additional privileges on the site. They can't do
> anything an anonymous user can't do.
>
> Right now, there are 223 accounts on the site (for reasons I can't possibly
> fathom). In order for this XSS to work, a user in the Analyzer's group has
> to be logged in already and then get the XSS-laden url.
>
> That's astronomically unlikely. Further, it's going to remain that way for
> some time since we have no plans for adding anything interesting for regular
> users that anonymous users can't also access.
>
> That's the context of this issue.
>
> Having said that, not sanitizing the next_url was a total fuckup on my part.
> I really appreciate Edis pointing it out.
Hi, Thanks for this comment, i hope you liked my submission quality. since many reporters do only report bugs like :
hi i found xss in xxx..com pls fix it goodluck etc. A real report must include everything in order to help the Security Team,and I hope I've done it Succesfully :)! Let's see sec-bounty? answer.if positive it will be so good..
Comment 16•12 years ago
|
||
There's currently nothing interesting even the "Analyzers" can access (and nothing any of the accounts can "do" to the site, all that's managed on the back-end), but as a "worst case" guess I'll call this sec-moderate for the small amount of user PII (email address) that's planned to be added in the future. I'm doubtful the value of the information would be worth the effort required for such a targeted attack (including running your own input instance so you could experiment with the non-public features), but it's possible.
Keywords: sec-moderate,
wsec-xss
Updated•12 years ago
|
Flags: sec-bounty? → sec-bounty+
| Assignee | ||
Comment 19•10 years ago
|
||
These bugs are all resolved, so I'm removing the security flag from them.
Group: websites-security
Updated•9 years ago
|
Product: Input → Input Graveyard
Updated•2 years ago
|
Keywords: reporter-external
You need to log in
before you can comment on or make changes to this bug.
Description
•