CVE-2022-4140 Welcart e-Commerce < 2.8.5 - Unauthenticated Arbitrary File Access
Unauthenticated attackers can read arbitrary files on the server due to lack of input validation in the Welcart e-Commerce plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-4140?
CVE-2022-4140 is a high-severity path traversal vulnerability in Unknown Welcart e-Commerce, published on 2 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The Welcart e-Commerce WordPress plugin before 2.8.5 does not validate user input before using it to output the content of a file, which could allow unauthenticated attacker to read arbitrary files on the server
Which versions are affected by CVE-2022-4140?
It affects 1 product.
Products include Welcart Welcart E-Commerce.
How do I fix CVE-2022-4140?
No fix has been published for CVE-2022-4140 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2022-4140 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-4140 exists.
Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.
Other vulnerabilities in Unknown Welcart e-Commerce
- CVE-2023-5952 Welcart e-Commerce < 2.9.5 - Unauthenticated PHP Object Injection
- CVE-2024-42404 SQL injection in Welcart e-Commerce
- CVE-2023-5953 Welcart e-Commerce < 2.9.5 - Subscriber+ Arbitrary File Upload
- CVE-2023-43610 SQL injection in Welcart e-Commerce
- CVE-2022-4237 Welcart e-Commerce < 2.8.6 - Subscriber+ PHAR Deserialisation
Sources
Also known as GHSA-6c75-m6fq-9mh7.