Welcart e-Commerce 2.6.10-2.8.4 - Information Disclosure via Arbitrary File Read
Strategic Overview
- Status
- Patched in 2.8.5
- Affected Plugin
- Welcart e-Commerce
- Affected Version
2.6.10 – 2.8.4- CVSS
- 7.5High
- Weakness type
- CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor
- CVE
CVE-2022-4140
At a glance
CVE-2022-4140 is a high-severity Exposure of Sensitive Information to an Unauthorized Actor vulnerability in the Welcart e-Commerce WordPress plugin, affecting versions 2.6.10 – 2.8.4. It carries a CVSS score of 7.5 (reachable over the network; low attack complexity; high confidentiality impact). Exploitation requires no authentication. The issue is fixed in version 2.8.5; sites on affected versions should update now. Disclosed November 2022, reported by Takeshi Suzuki.
Vulnerability Overview
The Welcart e-Commerce plugin for WordPress is vulnerable to arbitrary file read due to missing restrictions to proper file paths in the ~/functions/content-log.php file in versions 2.6.10-2.8.4. This makes it possible for unauthenticated attackers to read arbitrary files on the affected sites server leading to information disclosure.
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 privileges on the target site, and no interaction from a victim user. A successful exploit has high impact on confidentiality.
CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Reaching this weakness in Welcart e-Commerce 2.6.10 – 2.8.4 takes a caller who can reach the endpoint. Sensitive information exposure means data the application intended to keep internal is returned to a caller who should not be able to see it.
The disclosed data — credentials, tokens, customer records or internal paths — is usually worth more as material for a follow-up attack than as an end in itself. For Welcart e-Commerce the fix is 2.8.5: builds 2.6.10 – 2.8.4 are affected, anything from 2.8.5 onward is not.
Remediation
Update to version 2.8.5, or a newer patched version
How does WordSec protect against this?
The fix is the thing that ends this: Welcart e-Commerce 2.8.5 closes this, and updating the plugin is the step that ends it.
- 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