[SECURITY] XSS in dependency graphs when displaying the bug summary
Originally disclosed on Mozilla
- Fixed in 48 days
- Paid in 54 days
- Disclosed after 48 days
During the generation of a dependency graph also the code for the html image map is generated if a local dot installation is used.
With html escaped characters in a bug summary it is possible to inject custom lines in the *.map file with which the CreateImagemap function generates html code without filtering.
poc:
- configure bugzilla to use a local dot installation to generate a dependency graph
- create a bug with the following summary: default "><script>alert(1)</script> G
- visit /showdependencygraph.cgi?id=<BUG-ID>&showsummary=on&display=tree&rankdir=TB, a javascript alert prompt will show up
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A critical-severity XSS bug in Dependency Views. Mozilla made it public on 22 December 2015 as CVE-2015-8508.
About XSS
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.