Welcart e-Commerce <= 2.8.5 - Authenticated (Subscriber+) Information Disclosure and PHAR deserialization
Strategic Overview
- Status
- Patched in 2.8.6
- Affected Plugin
- Welcart e-Commerce
- Affected Version
<= 2.8.5- CVSS
- 6.5Medium
- Weakness type
- CWE-502 · Deserialization of Untrusted Data
- CVE
CVE-2022-4237
At a glance
CVE-2022-4237 is a medium-severity Deserialization of Untrusted Data vulnerability in the Welcart e-Commerce WordPress plugin, affecting versions <= 2.8.5. It carries a CVSS score of 6.5 (reachable over the network; low attack complexity; high confidentiality impact). Exploitation requires an authenticated account at Subscriber level or above. The issue is fixed in version 2.8.6; sites on affected versions should update now. Disclosed December 2022, reported by WPScanTeam.
Vulnerability Overview
The Welcart e-Commerce plugin for WordPress is vulnerable to Information Disclosure due to missing capability checks on the wel_check_progress_ajax AJAX action in versions up to, and including, 2.8.5. This makes it possible for authenticated attackers, with subscriber-level privileges or higher, to read certain log files maintained by the plugin leading to information disclosure. While the log file names are known and are directly accessible via browser on a server that is configured to serve .txt and .log files, the vulnerability allows attackers to access log files on other sites sharing the same server and also provides the ability to read such log files even if direct access is forbidden. Furthermore, the plugin is vulnerable to deserialization of untrusted input via the 'progressfile ' parameter. This makes it possible for attackers to call files using a PHAR wrapper, granted they can trick a site administrator into performing an action such as clicking on a link, that will deserialize and call arbitrary PHP Objects that can be used to perform a variety of malicious actions granted a POP chain is also present. It also requires that the attacker is successful in uploading a file with the serialized payload.
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. A successful exploit has high impact on confidentiality.
CWE-502: Deserialization of Untrusted Data
Welcart e-Commerce <= 2.8.5 carries this weakness at progressfile, and reaching it takes an account at Subscriber level or above. Deserialization of untrusted data means the application reconstructs objects from input a caller controls, letting the attacker choose which classes get instantiated and what their properties hold.
A workable chain turns deserialization into file writes, deletions or code execution, depending on what the loaded classes do in their magic methods. For Welcart e-Commerce the fix is 2.8.6: builds <= 2.8.5 are affected, anything from 2.8.6 onward is not.
Remediation
Update to version 2.8.6, or a newer patched version
How does WordSec protect against this?
An attacker needs Subscriber 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. Classes like this one can leave something behind, so the staged malware scanner is the second half: it looks for dropped files and modified code rather than for the request that created them. None of that substitutes for the fix: Welcart e-Commerce 2.8.6 closes this, and updating the plugin is the step that ends it.
- Firewall
- Scanner
- Alerts
External References
Related records
Same weakness class
- 9.8CVE-2023-5952: Welcart e-Commerce <= 2.9.4 PHP Object Injection
CVE-2023-5952 - 8.8CVE-2026-19887: Welcart e-Commerce <= 2.12.1 Arbitrary File Deletion
CVE-2026-19887 - 8.1CVE-2016-4825: Welcart e-Commerce < 1.8.3 Object Injection
CVE-2016-4825 - 7.5CVE-2020-28339: Welcart e-Commerce <= 1.9.35 PHP Object Injection
CVE-2020-28339
Other vulnerabilities in Welcart e-Commerce
- 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.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 - 8.8CVE-2023-43610: Welcart e-Commerce <= 2.8.21 SQL Injection
CVE-2023-43610 - 8.8Welcart e-Commerce <= 2.8.3 Cross-Site Request Forgery
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C