Welcart e-Commerce <= 2.9.6 - Authenticated (Administrator+) Directory Traversal

2023-12-08 00:00
Marco Wotschka

Strategic Overview

Status
Patched in 2.9.7
Affected PluginWelcart e-Commerce
Affected Version<= 2.9.6
CVSS4.1Medium
CVECVE-2023-6120
View all Welcart e-Commerce vulnerabilities

Vulnerability Overview

The Welcart e-Commerce plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 2.9.6 via the upload_certificate_file function. This makes it possible for administrators to upload .pem or .crt files to arbitrary locations on the server.

Technical Analysis

REMEDIATION: Update to version 2.9.7, or a newer patched version --- IDENTIFIER: CWE-22 (Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C