Closed Bug 1423406 Opened 8 years ago Closed 8 years ago

Use the content process sandbox to enforce the same-origin policy

Categories

(Core :: Security: Process Sandboxing, defect, P3)

58 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1432593

People

(Reporter: demiobenour, Unassigned)

References

Details

(Whiteboard: sb+)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36 Steps to reproduce: N/A Actual results: The same-origin policy is enforced by logic in the content processes. As a result, a remote code execution exploit such as https://blogs.technet.microsoft.com/mmpc/2017/10/18/browser-security-beyond-sandboxing/ allows for spoofing any action, on any website, using the user’s credentials. For example, if the user is logged into online banking, or has their password saved within Firefox, the malware can cause an unauthorized funds transfer. Expected results: The same-origin policy should be enforced by the sandbox. The content processes should not be able to violate it, even in the event of an arbitrary code execution exploit within one of them.
Component: Untriaged → DOM: Content Processes
Product: Firefox → Core
Status: UNCONFIRMED → NEW
Component: DOM: Content Processes → Security: Process Sandboxing
Ever confirmed: true
Priority: -- → P3
Strictly speaking, I don't think the process sandbox can enforce the same-origin policy. It's more about helping to prevent exploitation and then restricting what an exploited process can do, which won't include what origins are accessible. It will be Gecko code in the parent that has to enforce things, I'm not sure trying to make that theoretically part of the sandbox helps.
Indeed, it's the process allocation and IPC handlers which would really be the enforcement mechanisms here.
A mini version of this (that has more chance of shipping in the near future) would be bug 1422049.
Whiteboard: sb+
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.