CVE-2021-0963: EoP Overlay Attack on KeyChainActivity

Summary

01/12/2021
Yes i
High
Not published

CVE-2021-0963: In onCreate of KeyChainActivity.java, there is a possible way to use an app certificate stored in keychain due to a tapjacking/overlay attack. Affects platform/packages/apps/KeyChain across 4 version ranges.

>= 9:0, < 9:2021-12-01 >= 10:0, < 10:2021-12-01 >= 11:0, < 11:2021-12-01 >= 12:0, < 12:2021-12-01

Fixed in 9:2021-12-01. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The KeyChainActivity is a component in the Android ecosystem that manages app certificates stored in the keychain. It is responsible for securely storing and retrieving cryptographic keys, certificates, and related information. The keychain provides a secure storage location for sensitive data, ensuring that only authorized apps can access it. However, a vulnerability has been discovered in the KeyChainActivity that allows for a tapjacking/overlay attack, potentially leading to a local escalation of privilege. This vulnerability affects Android versions 9, 10, 11, and 12.

Vulnerability Detail

The vulnerability resides in the onCreate method of KeyChainActivity.java. By exploiting a tapjacking/overlay attack, an attacker can trick the user into interacting with a malicious overlay that appears to be part of the legitimate KeyChainActivity. Through this attack, the attacker can gain access to an app certificate stored in the keychain, enabling them to escalate their privileges locally. The exploitation of this vulnerability requires user interaction.

How To Fix

Minimum fixed version

9:2021-12-01

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround provided for this vulnerability. However, users can minimize the risk by being cautious while interacting with app overlays and ensuring that they only interact with trusted and legitimate interfaces.

Conclusion

The KeyChainActivity vulnerability (CVE-2021-0963) poses a risk of local escalation of privilege through a tapjacking/overlay attack. To mitigate this vulnerability, it is crucial to update the Android operating system to the fixed versions released on or after December 1, 2021. By staying up to date with the latest security patches, users can protect themselves from potential exploitation. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for platform/packages/apps/KeyChain →

Share this vulnerability

FAQ

KeyChainActivity is a component in the Android ecosystem that manages app certificates stored in the keychain. It provides a secure storage location for cryptographic keys, certificates, and related information.

A tapjacking/overlay attack is a technique where an attacker overlays a malicious interface on top of a legitimate app interface, tricking the user into interacting with the malicious overlay.

Local escalation of privilege refers to an attacker gaining higher privileges on a system or device, allowing them to perform actions that they are not authorized to do.

This vulnerability affects Android versions 9, 10, 11, and 12.

Yes, Google has addressed this vulnerability in Android versions released on or after December 1, 2021. It is recommended to update the Android operating system to the latest version to mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for platform/packages/apps/KeyChain.

How To Fix

Minimum fixed version

9:2021-12-01

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback