Arbitrary Code Execution Affecting openmage/magento-lts package, versions <19.4.22 >=20.0.0, <20.0.19


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.18% (56th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-OPENMAGEMAGENTOLTS-3251739
  • published 27 Jan 2023
  • disclosed 27 Jan 2023
  • credit Unknown

How to fix?

Upgrade openmage/magento-lts to version 19.4.22, 20.0.19 or higher.

Overview

openmage/magento-lts is a This repository is the home of an unofficial community-driven project.

Affected versions of this package are vulnerable to Arbitrary Code Execution due to insufficient validation of filenames for deletion in Storage.php. This allows admin users with access to the customer media to execute code on the server.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
7.2 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    High
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

NVD

7.2 high