Advisory

GHSA-3h69-4frw-g2jm

Also known as: CVE-2019-7930

Summary

Magento 2 Community Unrestricted File Upload

Details

A file upload restriction bypass exists in Magento 2.1 prior to 2.1.18, Magento 2.2 prior to 2.2.9, Magento 2.3 prior to 2.3.2. An authenticated user with administrator privileges to the import feature can make modifications to a configuration file, resulting in potentially unauthorized removal of file upload restrictions. This can result in arbitrary code execution when a malicious file is then uploaded and executed on the system.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-24 16:52 UTC
Modified
2024-02-16 08:10 UTC

Affected packages and fixes

magento/community-edition

Packagist · All systems

Affected

  • introduced 2.1, fixed 2.1.18 (ecosystem)

Fixed versions

2.1.18

Fix

The export has no generic command for this ecosystem.

magento/community-edition

Packagist · All systems

Affected

  • introduced 2.2, fixed 2.2.9 (ecosystem)

Fixed versions

2.2.9

Fix

The export has no generic command for this ecosystem.

magento/community-edition

Packagist · All systems

Affected

  • introduced 2.3, fixed 2.3.2 (ecosystem)

Fixed versions

2.3.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences