Welcart e-Commerce <= 2.9.6 - Authenticated (Administrator+) Directory Traversal
Strategic Overview
- Status
- Patched in 2.9.7
- Affected Plugin
- Welcart e-Commerce
- Affected Version
<= 2.9.6- CVSS
- 4.1Medium
- Weakness type
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CVE
CVE-2023-6120
At a glance
CVE-2023-6120 is a medium-severity Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in the Welcart e-Commerce WordPress plugin, affecting versions <= 2.9.6. It carries a CVSS score of 4.1 (reachable over the network; low attack complexity). Exploitation requires an authenticated account at Administrator level or above. The issue is fixed in version 2.9.7; sites on affected versions should update now. Disclosed December 2023, reported by Marco Wotschka.
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
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user.
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Reaching this weakness in Welcart e-Commerce <= 2.9.6 takes an account at Administrator level or above. Path traversal happens when user-controlled text is used to build a filesystem path without being constrained to an intended directory, so sequences like ../ walk the resolved path somewhere else.
Depending on the operation, it means reading files outside the intended folder — wp-config.php being the usual target — or writing to and deleting paths the web server can touch. For Welcart e-Commerce the fix is 2.9.7: builds <= 2.9.6 are affected, anything from 2.9.7 onward is not.
Remediation
Update to version 2.9.7, or a newer patched version
How does WordSec protect against this?
An attacker needs Administrator access first, so the firewall sees the attempt as traffic from a logged-in account: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: Welcart e-Commerce 2.9.7 closes this, and updating the plugin is the step that ends it.
- Firewall
- Alerts
External References
Related records
Same weakness class
Other vulnerabilities in Welcart e-Commerce
- 9.8CVE-2023-5952: Welcart e-Commerce <= 2.9.4 PHP Object Injection
CVE-2023-5952 - 9.8CVE-2016-4828: Welcart e-Commerce <= 1.8.2 Authentication Bypass
CVE-2016-4828 - 9.8CVE-2014-10017: Welcart e-Commerce <= 2.9.1 SQL Injection
CVE-2014-10017 - 8.8CVE-2026-19887: Welcart e-Commerce <= 2.12.1 Arbitrary File Deletion
CVE-2026-19887 - 8.8Welcart e-Commerce <= 2.9.4 Cross-Site Request Forgery
- 8.8CVE-2023-5953: Welcart e-Commerce <= 2.9.4 Arbitrary File Upload
CVE-2023-5953 - 8.8CVE-2023-40219: Welcart e-Commerce <= 2.8.21 Arbitrary File Upload
CVE-2023-40219 - 8.8CVE-2023-43493: Welcart e-Commerce <= 2.8.21 SQL Injection
CVE-2023-43493
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C