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.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://github.com/microweber/microweber/commit/777ee9c3e7519eb3672c79ac41066175b2001b50 | third party advisory patch |
https://sl1nki.page/advisories/CVE-2020-28337 | third party advisory |
https://sl1nki.page/blog/2021/02/01/microweber-zip-slip | patch third party advisory exploit |
http://packetstormsecurity.com/files/162514/Microweber-CMS-1.1.20-Remote-Code-Execution.html | third party advisory vdb entry exploit |