CVE-2024-21633

Apktool is a tool for reverse engineering Android APK files. In versions 2.9.1 and prior, Apktool infers resource files' output path according to their resource names which can be manipulated by attacker to place files at desired location on the system Apktool runs on. Affected environments are those in which an attacker may write/overwrite any file that user has write access, and either user name is known or cwd is under user folder. Commit d348c43b24a9de350ff6e5bd610545a10c1fc712 contains a patch for this issue.
Configurations

Configuration 1 (hide)

cpe:2.3:a:apktool:apktool:*:*:*:*:*:*:*:*

History

10 Jan 2024, 18:50

Type Values Removed Values Added
First Time Apktool
Apktool apktool
CPE cpe:2.3:a:apktool:apktool:*:*:*:*:*:*:*:*
References () https://github.com/iBotPeaches/Apktool/commit/d348c43b24a9de350ff6e5bd610545a10c1fc712 - () https://github.com/iBotPeaches/Apktool/commit/d348c43b24a9de350ff6e5bd610545a10c1fc712 - Patch
References () https://github.com/iBotPeaches/Apktool/security/advisories/GHSA-2hqv-2xv4-5h5w - () https://github.com/iBotPeaches/Apktool/security/advisories/GHSA-2hqv-2xv4-5h5w - Exploit, Patch, Vendor Advisory
Summary
  • (es) Apktool es una herramienta para realizar ingeniería inversa en archivos APK de Android. En las versiones 2.9.1 y anteriores, Apktool infiere la ruta de salida de los archivos de recursos de acuerdo con sus nombres de recursos, que el atacante puede manipular para colocar los archivos en la ubicación deseada en el sistema en el que se ejecuta Apktool. Los entornos afectados son aquellos en los que un atacante puede escribir/sobrescribir cualquier archivo en el que el usuario tenga acceso de escritura y en el que el nombre de usuario sea conocido o cwd esté en la carpeta del usuario. El commit d348c43b24a9de350ff6e5bd610545a10c1fc712 contiene un parche para este problema.

03 Jan 2024, 17:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-01-03 17:15

Updated : 2024-01-10 18:50


NVD link : CVE-2024-21633

Mitre link : CVE-2024-21633

CVE.ORG link : CVE-2024-21633


JSON object : View

Products Affected

apktool

  • apktool
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')