Skip to content
Disclosed report CVE-2013-1703

nsScriptSecurityManager::CheckLoadURIWithPrincipal is broken for nsExpandedPrincipal

Bobby Holley Follow

Originally disclosed on Mozilla

  • Fixed in 4 days
  • Paid in 18 days
  • Disclosed after 4 days
Text
in CheckLoadURIWithPrincipal, we have special handling for nsExpandedPrincipal, in which we iterate over the whitelist, caling CheckLoadURIWithPrincipal on each one individually. But if none of those succeed, we return NS_OK (!!!) instead of a failure code. This means that the nsExpandedPrincipal can load whatever it wants. :-(

I really should have caught this in review. I'm currently investigating why this wasn't caught by our test coverage.

The original report as published on Mozilla's Bugzilla, by Bobby Holley. 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 high-severity security bug in XPConnect. Mozilla made it public on 29 April 2013 as CVE-2013-1703.

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

More by Bobby Holley

View all

2 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.