Skip to content
Disclosed report CVE-2014-1546

[SECURITY] Add '/**/' before jsonrpc.cgi callback to avoid swf content type sniff vulnerability

Mario Gomes Follow

Originally disclosed on Mozilla

Critical View original
  • Fixed in 16 days
  • Paid in 6 days
  • Disclosed after 16 days

Created attachment 8452810 poc.html

User Agent: Mozilla/5.0 (X11; Linux i686 (x86_64)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36

Steps to reproduce:

Hi,

I think you may already know about this vulnerability(no, take a look - miki.it/blog/2014/7/8/abusing-jsonp-with-rosetta-flash/)

this vulnerability allows the page jsonrpc.cgi as a swf file then resulting in http request in local webserver(bugzilla.mozilla.org). To patch that add '/**/' before the callback function.

Reproduce:

  1. Log in bugzilla.
  2. open poc.html(attached)
  3. wait 10 seconds
  4. you will be redirected to a page that contains the source code of 'bugzilla.mozilla.org'(was got via victim browser) so it contains your session security token.

Cheers,

The original report as published on Mozilla's Bugzilla, by Mario Gomes. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

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 security bug in WebService. Mozilla made it public on 24 July 2014 as CVE-2014-1546.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

More by Mario Gomes

View all

17 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

Same bug class and techniques, clearest first.