CVE-2022-4236 Welcart e-Commerce < 2.8.5 - Subscriber+ Arbitrary File Access
Authenticated subscribers can read arbitrary files on the server due to lack of input validation in an AJAX action.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-4236?
CVE-2022-4236 is a medium-severity path traversal vulnerability in Unknown Welcart e-Commerce, published on 2 Jan 2023. Any signed-in user can exploit it over the network, 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 via an AJAX action available to any authenticated users, which could allow users with a role as low as subscriber to read arbitrary files on the server.
Weakness: CWE-552
Which versions are affected by CVE-2022-4236?
It affects 1 product.
Products include Welcart Welcart E-Commerce.
How do I fix CVE-2022-4236?
No fix has been published for CVE-2022-4236 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-4236 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-4236 exists.
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-h2jj-vr3r-h3v5.