Location service uses the cached authorization, even if the user denied location access to an app
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Unassigned | ||
trust-store |
Fix Released
|
Critical
|
Thomas Voß | ||
location-service (Ubuntu) |
Invalid
|
Critical
|
Unassigned | ||
Utopic |
Invalid
|
Undecided
|
Unassigned | ||
Vivid |
Invalid
|
Critical
|
Unassigned | ||
trust-store (Ubuntu) |
Fix Released
|
Critical
|
Thomas Voß | ||
Utopic |
Fix Released
|
Critical
|
Thomas Voß | ||
Vivid |
Fix Released
|
Critical
|
Thomas Voß | ||
trust-store (Ubuntu RTM) |
Fix Released
|
Critical
|
Thomas Voß |
Bug Description
The bug occurs after removing location access authorization to an application. The location is still available to the application, despite the user having revoked access from within USS > Privacy > Location.
To reproduce:
1. Open a map application, like Here map
2. Allow access to location
3. Switch to System Settings > Privacy > Location
4. Disable location access for Maps
5. Kill Here map, and restart it
What should happen: you should not have access anymore (and should not see a prompt)
What happens instead: the app still has access to your location, as shown in the logs:
I1030 16:15:38.167752 3100 cached_
I confirmed that the trust store had recorded the authorization change as in:
phablet@
1|unconfined|
2|com.nokia.
3|com.nokia.
From a user's perspective: Despite having explicitly rejected trust to an application, the app would still be able to access services.
Related branches
- Seth Arnold (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
- Ubuntu Phablet Team: Pending requested
-
Diff: 153 lines (+87/-3)5 files modifiedsrc/core/trust/impl/sqlite3/store.cpp (+2/-1)
tests/CMakeLists.txt (+17/-0)
tests/bug_1387734.cpp (+66/-0)
tests/remote_trust_store_test.cpp (+1/-1)
tests/trust_store_test.cpp (+1/-1)
- PS Jenkins bot: Needs Fixing (continuous-integration)
- Sebastien Bacher (community): Approve
- Thomas Voß (community): Approve
-
Diff: 170 lines (+72/-20)2 files modifiedplugins/security-privacy/trust-store-model.cpp (+19/-8)
tests/plugins/security-privacy/tst_trust_store_model.cpp (+53/-12)
- Sebastien Bacher (community): Approve
- David Barth (community): Approve
-
Diff: 170 lines (+72/-20)2 files modifiedplugins/security-privacy/trust-store-model.cpp (+19/-8)
tests/plugins/security-privacy/tst_trust_store_model.cpp (+53/-12)
CVE References
no longer affects: | location-service |
Changed in location-service (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Critical |
assignee: | nobody → Thomas Voß (thomas-voss) |
Changed in trust-store: | |
importance: | Undecided → Critical |
status: | New → Confirmed |
Changed in trust-store (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Critical |
Changed in trust-store (Ubuntu RTM): | |
status: | New → Confirmed |
importance: | Undecided → Critical |
Changed in trust-store (Ubuntu): | |
assignee: | nobody → Thomas Voß (thomas-voss) |
Changed in location-service (Ubuntu): | |
status: | Confirmed → Invalid |
assignee: | Thomas Voß (thomas-voss) → nobody |
Changed in trust-store: | |
assignee: | nobody → Thomas Voß (thomas-voss) |
Changed in trust-store (Ubuntu RTM): | |
assignee: | nobody → Thomas Voß (thomas-voss) |
tags: | added: rtm14 |
information type: | Public → Public Security |
description: | updated |
Changed in trust-store: | |
status: | Confirmed → In Progress |
Changed in trust-store (Ubuntu Utopic): | |
status: | Confirmed → In Progress |
Changed in trust-store (Ubuntu Vivid): | |
status: | Confirmed → In Progress |
Changed in trust-store (Ubuntu RTM): | |
status: | Confirmed → In Progress |
Changed in canonical-devices-system-image: | |
importance: | Undecided → High |
milestone: | none → ww05-2015 |
status: | New → In Progress |
Changed in canonical-devices-system-image: | |
milestone: | ww05-2015 → ww07-2015 |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Released |
Changed in trust-store: | |
status: | In Progress → Fix Released |
Changed in trust-store (Ubuntu Utopic): | |
status: | In Progress → Fix Released |
This is CVE-2014-1422