🔍 CVE-2025-46730

6.8
CVSS Score
MEDIUM
2025-05-05
2026-06-17 09:26
✅ 완료

🇰🇷 한글 설명

MobSF 4.3.2 이하 버전에서 ZIP 파일 업로드 시 압축 해제 후의 전체 크기를 검사하지 않는 취약점이 발견되었습니다. 공격자가 압축 해제 시 용량이 기하급수적으로 늘어나는 'ZIP Bomb' 파일을 업로드하면 서버의 디스크 공간을 모두 점유하여 서비스 거부(DoS) 상태를 유발할 수 있습니다.

💡 쉬운 설명

아주 작은 크기지만 압축을 풀면 엄청나게 커지는 가짜 파일을 올려서 서버의 저장 공간을 꽉 채워버리는 공격입니다. 이로 인해 MobSF뿐만 아니라 같은 서버를 사용하는 다른 서비스들까지 모두 멈출 수 있습니다.

🇺🇸 원문 (English)

MobSF is a mobile application security testing tool used. Typically, MobSF is deployed on centralized internal or cloud-based servers that also host other security tools and web applications. Access to the MobSF web interface is often granted to internal security teams, audit teams, and external vendors. MobSF provides a feature that allows users to upload ZIP files for static analysis. Upon upload, these ZIP files are automatically extracted and stored within the MobSF directory. However, in versions up to and including 4.3.2, this functionality lacks a check on the total uncompressed size of the ZIP file, making it vulnerable to a ZIP of Death (zip bomb) attack. Due to the absence of safeguards against oversized extractions, an attacker can craft a specially prepared ZIP file that is small in compressed form but expands to a massive size upon extraction. Exploiting this, an attacker can exhaust the server's disk space, leading to a complete denial of service (DoS) not just for MobSF, but also for any other applications or websites hosted on the same server. This vulnerability can lead to complete server disruption in an organization which can affect other internal portals and tools too (which are hosted on the same server). If some organization has created their customized cloud based mobile security tool using MobSF core then an attacker can exploit this vulnerability to crash their servers. Commit 6987a946485a795f4fd38cebdb4860b368a1995d fixes this issue. As an additional mitigation, it is recommended to implement a safeguard that checks the total uncompressed size of any uploaded ZIP file before extraction. If the estimated uncompressed size exceeds a safe threshold (e.g., 100 MB), MobSF should reject the file and notify the user.

📍 영향받는 시스템

MobSF versions up to and including 4.3.2

⚔️ 공격 벡터

정상적인 ZIP 파일로 위장하여 압축 해제 시 용량이 폭증하는 파일을 MobSF 정적 분석 업로드 기능에 전송

🛡️ 대응 방법

MobSF를 최신 버전(Commit 6987a946485a795f4fd38cebdb4860b368a1995d 포함 버전)으로 업데이트하거나, 압축 해제 전 파일 크기를 제한하는 보안 설정을 적용하십시오.

🔧 검증 코드

명령어 결과로 해당 커밋 해시값이 출력되면 취약점이 해결된 버전입니다.

Shell / Script
git log -1 --format=%H | grep 6987a946485a795f4fd38cebdb4860b368a1995d

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H

💻 영향받는 소프트웨어

Teams