GitHub Advisory Database
GHSA-pqcf-v8v5-jmcg
Zip slip in Microweber
Details
A directory traversal issue in the Utils/Unzip module in Microweber through 1.1.20 allows an authenticated attacker to gain remote code execution via the backup restore feature. To exploit the vulnerability, an attacker must have the credentials of an administrative user, upload a maliciously constructed ZIP file with file paths including relative paths (i.e., ../../), move this file into the backup directory, and execute a restore on this file.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | microweber/microweber | All versions before 1.2.3 (fixed in 1.2.3) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-28337
- https://github.com/microweber/microweber/commit/777ee9c3e7519eb3672c79ac41066175b2001b50
- https://sl1nki.page/advisories/CVE-2020-28337
- https://sl1nki.page/blog/2021/02/01/microweber-zip-slip
- http://packetstormsecurity.com/files/162514/Microweber-CMS-1.1.20-Remote-Code-Execution.html