VDB
Sign up
HIGH7.2

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.3

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/microweber/microweber
Introduced in: 0Fixed in: 1.2.3
Fixcomposer require microweber/microweber:^1.2.3

References

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"]}'