제출 #692107: moxi159753 mogu_blog_v2 <=v5.2 Path Traversal / Zip Slip정보

제목moxi159753 mogu_blog_v2 <=v5.2 Path Traversal / Zip Slip
설명mogu_blog_v2, a microservice-based blog system, contains a Zip Slip path traversal vulnerability in the network disk file decompression functionality. The /networkDisk/unzipFile endpoint calls FileOperation.unzip() which extracts ZIP archives without validating entry names. At line 241 of FileOperation.java, file paths are constructed directly as new File(destDirPath + "/" + entry.getName()) without checking for path traversal sequences or ensuring the resolved canonical path remains within the target directory. Authenticated attackers with network disk access can upload malicious ZIP files containing entries with names like ../../../../config/application.yml or ../../../../tmp/malicious.sh. When the ZIP is extracted, these files are written to arbitrary filesystem locations, escaping the intended extraction directory. This enables attackers to overwrite critical application configuration files, deploy webshells to web-accessible directories, modify executable scripts, or write to system locations, leading to remote code execution and complete system compromise. The vulnerability requires authentication but allows low-privileged users to achieve code execution through arbitrary file write.
원천⚠️ https://github.com/Xzzz111/exps/blob/main/archives/mogu_blog_v2-zip_slip-1/report.md
사용자
 sh7err05 (UID 92498)
제출2025. 11. 10. PM 02:39 (11 개월 ago)
모더레이션2025. 11. 30. PM 08:51 (20 days later)
상태수락
VulDB 항목333825 [moxi159753 Mogu Blog v2 까지 5.2 ZIP File /networkDisk/unzipFile FileOperation.unzip fileUrl 디렉토리 순회]
포인트들20

Do you want to use VulDB in your project?

Use the official API to access entries easily!