Security mailing lists by PureSourceCode

CVE-2021-36036

HIGH 7.2CVSS 3.1

Magento improper access control vulnerability within Magento's Media Gallery Upload workflow

Magento versions 2.4.2 (and earlier), 2.4.2-p1 (and earlier) and 2.3.7 (and earlier) are affected by an improper access control vulnerability within Magento's Media Gallery Upload workflow. By storing a specially crafted file in the website gallery, an authenticated attacker with administrative privilege can gain access to delete the .htaccess file. This could result in the attacker achieving remote code execution.

Published
6 Sep 2023
Last modified
17 Jun 2026
Assigned by
psirt@adobe.com
NVD status
Modified
Weakness
CWE-284
Also known as
BIT-magento-2021-36036GHSA-wqr6-wv6c-p8fx
Sources
NVDJSONOSV GHSA-wqr6-wv6c-p8fxJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
NVD psirt@adobe.com (Secondary) CVSS 3.1 HIGH 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Secondary) CVSS 3.1 HIGH 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD magento magento
cpe:2.3:a:magento:magento:*:*:*:*:commerce:*:*:*
< 2.3.7 2.3.7
NVD magento magento
cpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:*
< 2.3.7 2.3.7
NVD magento magento
cpe:2.3:a:magento:magento:*:*:*:*:commerce:*:*:*
>= 2.4.0, < 2.4.2 2.4.2
NVD magento magento
cpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:*
>= 2.4.0, < 2.4.2 2.4.2
NVD magento magento
cpe:2.3:a:magento:magento:2.3.7:-:*:*:commerce:*:*:*
= 2.3.7
NVD magento magento
cpe:2.3:a:magento:magento:2.3.7:-:*:*:open_source:*:*:*
= 2.3.7
NVD magento magento
cpe:2.3:a:magento:magento:2.4.2:-:*:*:commerce:*:*:*
= 2.4.2
NVD magento magento
cpe:2.3:a:magento:magento:2.4.2:-:*:*:open_source:*:*:*
= 2.4.2
NVD magento magento
cpe:2.3:a:magento:magento:2.4.2:p1:*:*:commerce:*:*:*
= 2.4.2
NVD magento magento
cpe:2.3:a:magento:magento:2.4.2:p1:*:*:open_source:*:*:*
= 2.4.2
OSV Packagist magento/project-community-edition <= 2.0.2
OSV Packagist magento/community-edition < 2.3.7-p1 2.3.7-p1
OSV Packagist magento/community-edition = 2.3.7
OSV Packagist magento/community-edition >= 2.4.2-p1, < 2.4.2-p2 2.4.2-p2
OSV Packagist magento/community-edition = 2.4.2

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 6 Sep 2023)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 6 Sep 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.