Closed
Bug 865089
Opened 13 years ago
Closed 13 years ago
XSS vulnerability
Categories
(Webmaker Graveyard :: Badges, defect)
Webmaker Graveyard
Badges
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: k.bhundoo, Assigned: mikel)
References
()
Details
(Keywords: reporter-external, sec-high, wsec-xss, Whiteboard: [site:badges.webmaker.org])
Attachments
(1 file)
|
442.19 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31
Steps to reproduce:
There is an XSS vulnerability for the code parameter
Proof of Concept (With Interger i.e 1): https://badges.webmaker.org/claim?code=%22%3E%3Cscript%3Ealert%281%29;%3C/script%3E
Proof of Concept (With String i.e `XSS found by Khavish`): https://badges.webmaker.org/claim?code=%22%3E%3Cscript%3Ealert%28/XSS%20by%20Khavish/%29;%3C/script%3E
Actual results:
The alert box appeared , prompting my string 'XSS found by Khavish' indicating that the Cross Scripting was a success.
Expected results:
The following HTML entities should have been properly escaped with HTML entity encoding to prevent switching into any execution context, such as script.
i.e < should be encoded as <
< --> <
> --> >
" --> "
/ --> /
assigning to stefan to verify, this maybe a possible dupe of some of the work that :psiinon was doing in badges
Updated•13 years ago
|
Group: core-security → websites-security
Updated•13 years ago
|
Updated•13 years ago
|
Whiteboard: [sec-bounty?] → [sec-bounty?][site:badges.webmaker.org]
Comment 3•13 years ago
|
||
Confirmed. I could also not find a dupe.
Flags: sec-bounty?
Whiteboard: [sec-bounty?][site:badges.webmaker.org] → [site:badges.webmaker.org]
Updated•13 years ago
|
Assignee: administration → avarma
Updated•13 years ago
|
Assignee: avarma → mikel
The bug is still not fixed.....how have been the progress for fixing this bug?
Comment 5•13 years ago
|
||
https://github.com/mozilla/openbadger/commit/69c984aa54d87c6def1f3bfdb990faab607ddaad fixed in development, waiting on Simon Wex to deploy
Awesome ...i will retest it after bus has been fixed
Btw when will i know if i am eligble for bounty or not:P
Comment 8•13 years ago
|
||
Khavis, keep an eye on the bug status, we will look at it in the next weekly Bug Bounty triage.
Updated•13 years ago
|
Flags: sec-bounty? → sec-bounty+
Comment 10•13 years ago
|
||
The fix is now in production! Thanks for reporting this.
Comment 11•13 years ago
|
||
Verified.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Status: RESOLVED → VERIFIED
| Reporter | ||
Comment 12•13 years ago
|
||
Confirmed...its now fixed :D
Nice work
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
•