nsScriptSecurityManager::CheckLoadURIWithPrincipal is broken for nsExpandedPrincipal
Originally disclosed on Mozilla
- Fixed in 4 days
- Paid in 18 days
- Disclosed after 4 days
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.
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.