In the newest nightly builds, its possible to capture chrome level exceptions at content level.
A chrome-level exception could be captured at the content level by using a named window and the open function combined with feed URI preview code changes. An attacker could potentially observe privileged error information from the browser's chrome layer.
Originally disclosed on Mozilla
- Fixed in 14 days
- Paid in 14 days
- Disclosed after 14 days
Created attachment 8781271
captureChromeException.html
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0
Build ID: 20160728205137
Steps to reproduce:
Used a named window and the open function combined with the feed URI preview code changes to capture a chrome level exception at content level. I know we do not want this.
Actual results:
A chrome level exception is captured at content level, and in this testcase is logged to the console.
Expected results:
It is my understanding that we do not want chrome level errors or exceptions being dispatched directly to content level.
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 flaw in how feed URI preview code handles named windows and the open function, allowing chrome-level exceptions to be dispatched to content.
What the attacker needed
Nightly Firefox build; feed URI preview code changes
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.
In a browser, 'chrome' means the browser's own interface and privileged code, while 'content' is the web page. This report says a privileged error from the browser's internal code was exposed to the web page, which could leak information that should stay hidden.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.