RCE in Apkleaks Project
CVE-2021-21386
APKLeaks is an open-source project for scanning APK file for URIs, endpoints & secrets. APKLeaks prior to v2.0.3 allows remote attackers to execute arbitrary OS commands via package name inside application manifest. An attacker could include arguments that allow unintended commands or code to be executed, allow sensitive data to be read or modified or could cause other unintended behavior through malicious package name. The problem is fixed in version v2.0.6-dev and above.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.3 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.023, 83.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Apkleaks Project
- Dwisiswant0 Apkleaks — versions < 2.0.6-dev
Weakness classification (CWE)
References
- github.com/dwisiswant0/apkleaks/security/advisories/GHSA-8434-v7xw-8m9x (Patch, Third Party Advisory)
- github.com/dwisiswant0/apkleaks/commit/a966e781499ff6fd4eea66876d7532301b13a382 (Patch, Third Party Advisory)