漏洞描述
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.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
github.comhttps://github.com/0x33c0unt/CVE-2024-21633/tree/main?tab=readme-ov-file↗www.qu35t.pwhttps://www.qu35t.pw/posts/2024-21633-mobsf-rce/↗github.comhttps://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/19c1b55c2c59596f2d43439926c9dc976cbeaec4↗nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2024-21633↗