CVE-2021-39794 Missing authorization in Android
Local attackers can escalate privileges to shell user via AdbService if wireless debugging is enabled, requiring user interaction.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-39794?
CVE-2021-39794 is a high-severity missing authorization vulnerability in Google Android, published on 12 Apr 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
In broadcastPortInfo of AdbService.java, there is a possible way for apps to run code as the shell user, if wireless debugging is enabled, due to a missing permission check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is needed for exploitation.Product: AndroidVersions: Android-11 Android-12 Android-12LAndroid ID: A-205836329
Weakness: CWE-276
Which versions are affected by CVE-2021-39794?
It affects 1 product.
Products include Google Android.
How do I fix CVE-2021-39794?
Apply the vendor's patch.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2021-39794 being exploited?
There is no known exploitation of CVE-2021-39794 in the wild and no public exploit code.
Other vulnerabilities in Google Android
Sources
Also known as A-205836329, ASB-A-205836329, GHSA-qq26-67cv-q98h.