Open Bug 443400 Opened 17 years ago Updated 2 years ago

restructure chrome packaging to remove as many files as possible from content-accessible packages

Categories

(Firefox :: General, defect)

x86
Linux
defect

Tracking

()

People

(Reporter: guninski, Unassigned)

Details

(Keywords: sec-want, Whiteboard: [sg:want?])

Attachments

(1 file)

Attached file testcase bind7a.html
i see no reason remote content to be able to use: <div style="-moz-binding: url('chrome://browser/locale/netError.dtd')"> dealing with chrome may cause security problems in theory
Whiteboard: [sg:investigate]
Component: General → XBL
Product: Firefox → Core
What should be happening is that the chrome needs to be restructured so that only things that are really needed by external content are in external content packages. We have the infrastructure for this in place; the ball is in the court of the folks who set up the chrome packaging, which is NOT Core:XBL.
Component: XBL → General
Product: Core → Firefox
"may cause security problems in theory" makes it hard to decide to invest a lot of effort into doing this, especially considering that we're always going to end up with *some* accessible chrome (at least for the foreseeable future).
Summary: consider not allowing remote XBL to use chrome and resource URIs → restructure chrome packaging to remove as many files as possible from content-accessible packages
ok, i don't have an exploit for this. resolve the bug as you wish.
I think the plan in bug 546856 is better.
Whiteboard: [sg:investigate] → [sg:want?]

Is this still an issue with XBL removed?

Flags: needinfo?(bgrinstead)

(In reply to Tom Ritter [:tjr] (ni for response to sec-[approval|rating|advisories|cve]) from comment #5)

Is this still an issue with XBL removed?

I think Comment 1 is still accurate even with XBL gone:

What should be happening is that the chrome needs to be restructured so that
only things that are really needed by external content are in external
content packages. We have the infrastructure for this in place; the ball is
in the court of the folks who set up the chrome packaging, which is NOT
Core:XBL.

Though it seems possible that we've either (a) implemented changes with packaging in the meantime or (b) this isn't relevant anymore post XUL addon removal or based on other changes in the past decade. Mossop, do you think this bug should be closed?

Flags: needinfo?(bgrinstead) → needinfo?(dtownsend)

As far as I can tell there are still lots and lots of chrome resources accessible to content. Whether that is something we still want to solve is probably up to the security team to decide. Worth considering that this is probably a method of fingerprinting the user if they have blocked other means, looking at the content of browser.js will probably give you a very accurate Firefox version.

Flags: needinfo?(dtownsend)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: