提交 #742422: https://github.com/bolo-blog/bolo-solo/ bolo-solo V2.6.4 Write any file信息

标题https://github.com/bolo-blog/bolo-solo/ bolo-solo V2.6.4 Write any file
描述A path traversal vulnerability exists in the /import/markdown endpoint of bolo-solo version 2.6.4_stable. The application uses an unsafe ZIP extraction routine (unpackFilteredZip) that fails to sanitize or validate file paths within uploaded ZIP archives. Specifically, the function constructs output file paths using new File(outputDir, entryName) without canonicalizing or restricting the entry name to the intended output directory. As a result, an authenticated attacker (typically with admin privileges) can upload a malicious ZIP file containing entries with path traversal sequences (e.g., ../../../etc/passwd or ../../static/poc.html). Upon extraction, arbitrary files can be written to any location on the filesystem where the application process has write permissions. This may lead to remote code execution (e.g., via webshell upload), configuration file overwrite, or denial of service.
来源⚠️ https://github.com/bolo-blog/bolo-solo/issues/326
用户
 MaoQiu (UID 94327)
提交2026-01-20 03時40分 (9 月前)
管理2026-02-03 15時04分 (14 days later)
状态已接受
VulDB条目343978 [bolo-blog bolo-solo 直到 2.6.4 ZIP File BackupService.java unpackFilteredZip file 目录遍历]
积分20

Do you need the next level of professionalism?

Upgrade your account now!