Closed
Bug 849951
Opened 13 years ago
Closed 12 years ago
Orange Factor xss brasstacks.mozilla.com
Categories
(Tree Management Graveyard :: OrangeFactor, defect)
Tree Management Graveyard
OrangeFactor
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: insecurity.ro, Unassigned)
Details
(Keywords: reporter-external, Whiteboard: [site:brasstacks.mozilla.com])
Attachments
(3 files)
106.11 KB,
image/jpeg
|
Details | |
855 bytes,
patch
|
emorley
:
review+
|
Details | Diff | Splinter Review |
1.48 KB,
patch
|
emorley
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:19.0) Gecko/20100101 Firefox/19.0
Build ID: 20130307023931
Steps to reproduce:
Hello,
we have xss in url
test this on mozilla firefox without plugins.
Actual results:
Open link in browser and wait for xss sometime.
http://brasstacks.mozilla.com/orangefactor/?display=TopBugs&tree=trunk&includefiltertype=quicksearch&includefilterdetailsquicksearch=;alert%28String.fromCharCode%2888,83,83%29%29//%27;alert%28String.fromCharCode%2888,83,83%29%29//%22;%20alert%28String.fromCharCode%2888,83,83%29%29//%22;alert%28String.fromCharCode%2888,83,83%29%29//--%20%3E%3C/SCRIPT%3E%22%3E%27%3E%3CSCRIPT%3Ealert%28String.fromCharCode%2888,83,83%29%29%3C/SCRIPT%3E&includefilterdetailsexcludeResolved=false&includefilterdetailsexcludeDisabled=false&includefilterdetailsnumbugs=0&includefilterdetailsresolvedIds=&excludefiltertype=quicksearch&excludefilterdetailsquicksearch=&excludefilterdetailsnumbugs=0&excludefilterdetailsresolvedIds=
assigning to rforbes for verificaiton
Assignee: nobody → rforbes
Whiteboard: [verif?]
Assignee | ||
Comment 2•13 years ago
|
||
I'm not seeing this reliably on latest released Firefox nor Nightly on OS X; it happened once, but some time after the page loaded, and I'm not sure what I did to trigger it. However it does happen every time on Safari.
A shorter URL which still triggers the problem is
http://brasstacks.mozilla.com/orangefactor/?includefiltertype=quicksearch&includefilterdetailsquicksearch=;alert%28String.fromCharCode%2888,83,83%29%29//%27;alert%28String.fromCharCode%2888,83,83%29%29//%22;%20alert%28String.fromCharCode%2888,83,83%29%29//%22;alert%28String.fromCharCode%2888,83,83%29%29//--%20%3E%3C/SCRIPT%3E%22%3E%27%3E%3CSCRIPT%3Ealert%28String.fromCharCode%2888,83,83%29%29%3C/SCRIPT%3E
I'm investigating this now.
Updated•13 years ago
|
Group: core-security → websites-security
Comment 3•13 years ago
|
||
confirmed, this is working for me.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•13 years ago
|
Assignee: rforbes → nobody
Flags: sec-bounty?
Whiteboard: [verif?]
Comment 4•12 years ago
|
||
brasstacks is not on our list of eligible sites, it's an internal testing server.
Flags: sec-bounty? → sec-bounty-
Updated•12 years ago
|
Whiteboard: [site:brasstacks.mozilla.com]
Assignee | ||
Comment 5•12 years ago
|
||
In the end, really dumb and simple.
Updated•12 years ago
|
Attachment #733730 -
Flags: review?(emorley) → review+
Assignee | ||
Comment 6•12 years ago
|
||
Pushed and deployed.
http://hg.mozilla.org/automation/orangefactor/rev/f79928cf0f88
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•12 years ago
|
||
Could I get confirmation that this is properly fixed?
Flags: needinfo?(rforbes)
Assignee | ||
Comment 8•12 years ago
|
||
Actually this isn't quite right. It should use encodeURIComponent() on individual GET-variable names and values to take care of characters like &.
Status: RESOLVED → REOPENED
Flags: needinfo?(rforbes)
Resolution: FIXED → ---
Assignee | ||
Comment 9•12 years ago
|
||
This encodes every GET arg separately with encodeURIComponent(), which, unlike encodeURI(), encodes '&', without which our args can get messed up.
Attachment #733912 -
Flags: review?(emorley)
Updated•12 years ago
|
Attachment #733912 -
Flags: review?(emorley) → review+
Assignee | ||
Comment 10•12 years ago
|
||
Pushed and deployed. Looking for confirmation again. :)
http://hg.mozilla.org/automation/orangefactor/rev/6c416e5c0181
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Flags: needinfo?(rforbes)
Resolution: --- → FIXED
Updated•12 years ago
|
Flags: needinfo?(rforbes)
Updated•11 years ago
|
Product: Testing → Tree Management
Updated•5 years ago
|
Product: Tree Management → Tree Management Graveyard
Updated•1 year ago
|
Keywords: reporter-external
You need to log in
before you can comment on or make changes to this bug.
Description
•