Skip to content
Access control Disclosed report Advanced CVE-2017-5391

Unlinkable content-privileged about: pages can link to chrome-privileged about: pages

Content-privileged about: pages that should be unlinkable were able to link to and load chrome-privileged about: pages, including inside an iframe. An attacker could potentially get chrome-privileged pages rendered in a non-toplevel document, though compartments prevented immediate code execution.

Gijs Follow

Originally disclosed on Mozilla

  • Fixed in 31 days
  • Paid in 27 days
  • Disclosed after 31 days
Text
As per summary. This also allows loading, say, about:preferences in an iframe on about:feeds or about:reader or whatever. Compartments save our butt from immediate pwnage, but I'm fairly sure that chrome-privileged things in non-toplevel documents is bad either way.

This is a regression (it wasn't possible in 47), probably from bug 1253673. Not marking for now because we don't know for sure and I don't yet know exactly how bad this is. Just that it's bad.

The original report as published on Mozilla's Bugzilla, by Gijs. 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.

How it worked

Root cause

Likely a regression in the linking rules for about: pages that removed the restriction preventing content-privileged pages from linking to chrome-privileged ones.

Impact

Chrome-privileged pages could be loaded in non-toplevel documents, which the reporter considers bad, although compartments prevented immediate exploitation.

What the attacker needed

Victim visits a crafted about: page

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

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

Firefox has internal pages (about: pages) with different levels of trust. Some are 'content' pages that web content can influence, and some are 'chrome' pages with full browser privileges. This report says a lower-trust page could make the browser load a higher-trust page inside a frame, which breaks the intended separation between them.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Gijs

View all

2 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.