Advisory

GHSA-w2p4-2c8c-2g7h

Also known as: BIT-magento-2021-21015, CVE-2021-21015

Summary

Magento OS command injection via the customer attribute save controller

Details

Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are vulnerable to an OS command injection via the customer attribute save controller. Successful exploitation could lead to arbitrary code execution by an authenticated attacker. Access to the admin console is required for successful exploitation.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-24 17:41 UTC
Modified
2024-02-16 08:25 UTC

Affected packages and fixes

magento/community-edition

Packagist · All systems

Affected

  • introduced 0, fixed 2.3.6-p1 (ecosystem)

Fixed versions

2.3.6-p1

Fix

The export has no generic command for this ecosystem.

magento/community-edition

Packagist · All systems

Affected

  • introduced 2.4.0, fixed 2.4.2 (ecosystem)

Fixed versions

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