Open
Bug 1501072
Opened 7 years ago
Updated 8 days ago
PContentPermissionRequest can be forged by a Rogue Content Process
Categories
(Core :: DOM: Security, enhancement, P3)
Core
DOM: Security
Tracking
()
NEW
| Fission Milestone | Future |
People
(Reporter: tjr, Unassigned)
References
(Depends on 1 open bug, Blocks 2 open bugs)
Details
(Keywords: sec-want, Whiteboard: [domsecurity-backlog2])
PContent::PContentPermissionRequest accepts a principal from the content process and uses it to request and store permissions. A rogue content process could supply a fraudulent principal and potentially trick the user into granting access for a different domain.
Alternately, I believe the Content Process could supply a principal the user has granted persistent access to and thus bypass the permission check.
We should validate the principal supplies is valid for the origins the content process is hosting.
Updated•7 years ago
|
Priority: -- → P3
Whiteboard: [domsecurity-backlog2]
Updated•3 years ago
|
Severity: normal → S3
Updated•4 months ago
|
Blocks: site-isolation-principal-vetting
Updated•2 months ago
|
Assignee: nobody → tschuster
Comment 14•2 months ago
|
||
I did some investigation into this, and it looks like there is actually a big blocker for doing this work.
The webcompat addon uses the privileged requestStorageAccessForOrigin API to actually do third-party permission request to unblock broken pages. We can't tell whether that request is actually coming from the web compat code or a malicious content process.
The relevant test failures are in toolkit/components/antitracking/test/browser/browser_storageAccessPrivilegeAPI.js.
I am unassigning myself for now to focus on something else, I had hoped this would be a simple change.
Assignee: tschuster → nobody
FWIW I'm doing some relevant work in bug 2050884
You need to log in
before you can comment on or make changes to this bug.
Description
•