Resolve StatusHints image exploit across user.
Because of the INTERACT_ACROSS_USERS permission, an app that implements a ConnectionService can upload an image icon belonging to another user by setting it in the StatusHints. Validating the construction of the StatusHints on the calling user would prevent a malicious app from registering a connection service with the embedded image icon from a different user. From additional feedback, this CL also addresses potential vulnerabilities in an app being able to directly invoke the binder for a means to manipulate the contents of the bundle that are passed with it. The targeted points of entry are in ConnectionServiceWrapper for the following APIs: handleCreateConnectionComplete, setStatusHints, addConferenceCall, and addExistingConnection. Fixes: 280797684 Test: Manual (verified that original exploit is no longer an issue). Test: Unit test for validating image in StatusHints constructor. Test: Unit tests to address vulnerabilities via the binder. Change-Id: Ie1f6a8866d31d5f1099dd0630cf8e9ee782d389c Merged-In: Ie1f6a8866d31d5f1099dd0630cf8e9ee782d389c
Loading
-
mentioned in commit 8ce3e195
-
mentioned in commit 41042bd0
-
mentioned in commit 3053d395
-
mentioned in commit 627e9bf2
-
mentioned in commit a2225e5f
-
mentioned in commit ea798e3e
-
mentioned in commit 7ee8fb5a
-
mentioned in commit 82c9b72a
-
mentioned in commit 2c0a60a6
-
mentioned in commit 07adc443
-
mentioned in commit 27237c85
-
mentioned in commit f310eff0
-
mentioned in commit 865f5fc5
-
mentioned in commit a33d2395
-
mentioned in commit b97d97a3
-
mentioned in commit ba097705
-
mentioned in commit bc121551
-
mentioned in commit a54a91e7
-
mentioned in commit 25562eda
-
mentioned in commit 9b41a963
Please register or sign in to comment