Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-21633 PoC — Apktool 路径遍历漏洞

Source
Associated Vulnerability
Title:Apktool 路径遍历漏洞 (CVE-2024-21633)
Description:Apktool是一款对Android APK文件进行逆向工程的工具。 Apktool 2.9.1及之前版本存在路径遍历漏洞,该漏洞源于Apktool可以根据资源名称推断资源文件的输出路径,攻击者利用该漏洞可以将文件放置在 Apktool 系统上的所需位置。
Description
MobSF is vulnerable to an issue with apktool (CVE-2024-21633) that allows for RCE or arbitrary file writing. It does this through a path traversal vulnerability. This template tests for it by writing to a local file and reading that file. RCE can be achieved by overwriting jadx, as shown in the two POCs listed as references. The payload for this template exists inside the binary format of an APK, which is a zip file. This means that a hardcoded random hex string is checked for, rather than a standard dynamic random string.
File Snapshot

id: CVE-2024-21633 info: name: MobSF - Path Traversal author: Will Mccardell severity: high ...
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.