CVE-2021-0481 Path traversal in Android
Local attackers can escalate privileges and access unauthorized files via a URI handler flaw in Android's photo editing controller.
- 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-0481?
CVE-2021-0481 is a high-severity path traversal vulnerability in Google Android, published on 11 Jun 2021. 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 onActivityResult of EditUserPhotoController.java, there is a possible access of unauthorized files due to an unexpected URI handler. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is needed for exploitation.Product: AndroidVersions: Android-8.1 Android-9 Android-10 Android-11Android ID: A-172939189
Weakness: CWE-20
Which versions are affected by CVE-2021-0481?
It affects 1 product.
Products include Google Android.
How do I fix CVE-2021-0481?
Apply the vendor's patch.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2021-0481 being exploited?
There is no known exploitation of CVE-2021-0481 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Google Android
Sources
Also known as A-172939189, ASB-A-172939189, GHSA-c5xm-hvx7-cqfj.