Arbitrary Code Execution Affecting zencart/zencart package, versions >=1.5.5e, <1.5.6


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.18% (57th 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 Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-ZENCARTZENCART-5759270
  • published7 Jul 2023
  • disclosed17 May 2022
  • creditimp0wd3r

Introduced: 17 May 2022

CVE-2017-11675  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade zencart/zencart to version 1.5.6 or higher.

Overview

zencart/zencart is an Open Source E-commerce Application

Affected versions of this package are vulnerable to Arbitrary Code Execution. The traverseStrictSanitize function in admin_dir/includes/classes/AdminRequestSanitizer.php mishandles key strings, which allows remote authenticated users to execute arbitrary PHP code by placing that code into an invalid array index of the admin_name array parameter to admin_dir/login.php, if there is an export of an error-log entry for that invalid array index.

References

CVSS Scores

version 3.1