oxide should use an app-specific path for shared memory files
Bug #1260103 reported by
Jamie Strandboge
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Medium
|
David Barth | ||
Oxide |
Fix Released
|
Medium
|
Olivier Tilloy | ||
1.17 |
Fix Released
|
Medium
|
Olivier Tilloy | ||
webapps-sprint |
Fix Committed
|
Medium
|
David Barth | ||
apparmor-easyprof-ubuntu (Ubuntu) |
Fix Released
|
Medium
|
Jamie Strandboge |
Bug Description
Oxide creates shared memory files as /run/shm/
owner /run/shm/
But this rule is too lenient because a malicious app could enumerate these files and attack shared memory of other applications. Therefore, these paths need to be made application specific.
Related branches
lp://staging/~tyhicks/apparmor-easyprof-ubuntu/lp1260103
- Olivier Tilloy (community): Approve
- Tyler Hicks (community): Abstain
- Jamie Strandboge: Pending requested
-
Diff: 81 lines (+29/-4) (has conflicts)2 files modifieddata/policygroups/ubuntu/1.1/webview (+18/-4)
debian/changelog (+11/-0)
Changed in oxide: | |
importance: | Undecided → Medium |
Changed in apparmor-easyprof-ubuntu (Ubuntu): | |
importance: | Undecided → Medium |
Changed in apparmor-easyprof-ubuntu (Ubuntu): | |
status: | New → Confirmed |
Changed in oxide: | |
assignee: | nobody → Olivier Tilloy (osomon) |
status: | New → Triaged |
Changed in canonical-devices-system-image: | |
assignee: | nobody → David Barth (dbarth) |
importance: | Undecided → Medium |
milestone: | none → 13 |
status: | New → In Progress |
Changed in webapps-sprint: | |
assignee: | nobody → David Barth (dbarth) |
milestone: | none → sprint-25 |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in apparmor-easyprof-ubuntu (Ubuntu): | |
assignee: | nobody → Jamie Strandboge (jdstrand) |
Changed in webapps-sprint: | |
status: | Triaged → In Progress |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
status: | Fix Committed → In Progress |
Changed in oxide: | |
status: | Confirmed → In Progress |
Changed in oxide: | |
milestone: | branch-1.17 → branch-1.18 |
Changed in oxide: | |
status: | In Progress → Fix Released |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I would modify base::GetShmemT empDir( ) to lookup a path via base::PathService and then have Oxide override this. You'll need to add a new key in base/base_ paths_posix. h as well.