Closed
Bug 966740
Opened 12 years ago
Closed 12 years ago
XSS in /events
Categories
(Websites :: other.mozilla.org, defect)
Websites
other.mozilla.org
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: danutzu7, Assigned: nemo-yiannis)
References
Details
(Keywords: reporter-external, sec-high, wsec-xss, Whiteboard: [kb=1260707] [site:reps.mozilla.org][[reporter-external])
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.102 Safari/537.36
Steps to reproduce:
I was browsing reps.mozilla.org and decided to do a few tests. And found this:
https://reps.mozilla.org/api/v1/event/?offset=0&limit=0&start__gte=2014-02-02%3Cimg%20src=1%20onerror=alert%28document.domain%29%3E
It looks like the start__gte parameter is not filtered while being showed in the error message.
Browser: Firefox 26.0 on Windows 8.1
Actual results:
The alert box appeared; this means that we have the possibility to execute our own javascript in the name of other users.
Expected results:
The error message should have been filtered.
Thank you!
Comment 1•12 years ago
|
||
Thanks for reporting Daniel.
Group: mozilla-reps → mozilla-corporation-confidential
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•12 years ago
|
Summary: Cross site scripting → XSS in /events
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → jgiannelos
| Assignee | ||
Updated•12 years ago
|
Whiteboard: [kb=1260707]
moving this to websites::other.mozilla.org so we can set the bounty flag for this issue. This at least deserves consideration.
Group: mozilla-corporation-confidential → websites-security
Component: reps.mozilla.org → other.mozilla.org
Product: Mozilla Reps → Websites
Whiteboard: [kb=1260707] → [kb=1260707] [site:reps.mozilla.org][[reporter-external]
Updated•12 years ago
|
Flags: sec-bounty?
| Assignee | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 3•12 years ago
|
||
PR merged here: https://github.com/mozilla/remo/pull/611
Comment 4•12 years ago
|
||
This was fixed here: https://github.com/mozilla/remo/commit/abd2539a68591cfed2acc1c140bb81de921726de
Code is on stage, http://reps.allizom.org
Curtis, would you like to verify it's fixed or shall I do it?
Updated•12 years ago
|
Flags: needinfo?(curtisk)
| Reporter | ||
Comment 5•12 years ago
|
||
Hello. If it helps, it looks ok from my point of view. Thanks.
Looks good from my perspective
Flags: needinfo?(curtisk)
Updated•12 years ago
|
Updated•11 years ago
|
Group: websites-security
Updated•2 years ago
|
Keywords: reporter-external
You need to log in
before you can comment on or make changes to this bug.
Description
•