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-07-07 19:59:33 +0000
commit5c72cd48097f7cdaa62e9eb1a0aeddbb941ec981 (patch)
tree4f51136545f8555e982b0d0480859773c57cfc2d /libs/androidfw/ConfigDescription.cpp
parentd013fed99012d45e61aa3ea16c72fa6152c7fe4c (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