| Titel | 螳螂卜禅 MantisZip 0.4.5 Path Traversal |
|---|
| Beschreibung | MantisZip v0.4.5 and all earlier versions suffer a Zip Slip (CWE-22 path traversal) vulnerability within its GUI double-click entry preview function. The program extracts archive entries to a constrained temporary folder for preview, yet it directly concatenates unsanitized attacker-controlled ZIP entry names with the temp directory via Path.Combine. Malicious archive entries containing "../" traversal sequences can escape the temporary sandbox, enabling arbitrary file write to any user-writable path on Windows systems.
Exploitation only requires low-complexity social engineering: the victim just needs to open the malicious ZIP and double-click any entry, with no authentication or elevated privileges required. Attackers can deploy persistent startup scripts, hijack DLLs, overwrite system configuration files, and achieve persistent remote code execution. The built-in path validation function is logically broken and cannot block traversal payloads, resulting in failed defense-in-depth. |
|---|
| Quelle | ⚠️ https://gitee.com/yhx070424/MantisZip/issues/IK4AHB |
|---|
| Benutzer | 0n1on (UID 100116) |
|---|
| Einreichung | 26.07.2026 19:05 (vor 2 Monaten) |
|---|
| Moderieren | 23.09.2026 20:19 (2 months later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 409081 [MantisZip bis 0.4.5 Preview MainWindow.UI.cs Path.Combine Directory Traversal] |
|---|
| Punkte | 20 |
|---|