GHSA-pqcf-v8v5-jmcg
Zip slip in Microweber
Quick fix
GHSA-pqcf-v8v5-jmcg — microweber/microweber: upgrade to the fixed version with the command below.
composer require microweber/microweber:^1.2.3Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 1.2.3composer require microweber/microweber:^1.2.3References
- https://nvd.nist.gov/vuln/detail/CVE-2020-28337[ADVISORY]
- https://github.com/microweber/microweber/commit/777ee9c3e7519eb3672c79ac41066175b2001b50[WEB]
- https://sl1nki.page/advisories/CVE-2020-28337[WEB]
- https://sl1nki.page/blog/2021/02/01/microweber-zip-slip[WEB]
- http://packetstormsecurity.com/files/162514/Microweber-CMS-1.1.20-Remote-Code-Execution.html[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/microweber/microweber"]}'