summaryrefslogtreecommitdiff
path: root/libs/androidfw/ConfigDescription.cpp
diff options
context:
space:
mode:
author Tim Yu <yunicorn@google.com> 2023-06-20 21:24:36 +0000
committer Tim Yu <yunicorn@google.com> 2023-06-28 21:01:38 +0000
commitf7ca136c514dc975c3f46d95c53fd6b3752c577a (patch)
tree32194d8c4a74c685ce5a38a5c5f15fea349b793b /libs/androidfw/ConfigDescription.cpp
parentedeff9328e9e831a61f1235b44dbc6864f80a2bf (diff)
[DO NOT MERGE] Verify URI Permissions in Autofill RemoteViews
Check permissions of URI inside of FillResponse's RemoteViews. If the current user does not have the required permissions to view the URI, the RemoteView is dropped from displaying. This fixes a security spill in which a user can view content of another user through a malicious Autofill provider. Bug: 283137865 Fixes: b/283264674 b/281666022 b/281665050 b/281848557 b/281533566 b/281534749 b/283101289 Test: Verified by POC app attached in bugs Test: atest CtsAutoFillServiceTestCases (added new tests) Change-Id: I6f4d2a35e89bbed7bd9e07bf5cd3e2d68b20af9a
Diffstat (limited to 'libs/androidfw/ConfigDescription.cpp')
0 files changed, 0 insertions, 0 deletions