diff options
| author | 2022-10-04 19:43:58 +0000 | |
|---|---|---|
| committer | 2022-10-04 22:02:44 +0000 | |
| commit | 40f92322b0831aa1bd064554f55e0a489e260ece (patch) | |
| tree | 827b8e4afecd281abea9143c6459a2e57b54feec /libs/androidfw/AssetsProvider.cpp | |
| parent | 8c321a708f30209379ac1ceaabe4099dc06b1a3a (diff) | |
Add safety checks on KEY_INTENT mismatch.
For many years, Parcel mismatch typed exploits has been using the
AccoungManagerService's passing of KEY_INTENT workflow, as a foothold of
launching arbitrary intents. We are adding an extra check on the service
side to simulate the final deserialization of the KEY_INTENT value, to
make sure the client side won't get a mismatched KEY_INTENT value.
Bug: 250588548
Bug: 240138294
Test: atest CtsAccountManagerTestCases
Test: local test, also see b/250588548
Change-Id: I433e34f6e21ce15c89825044a15b1dec46bb25cc
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions