CVE-2022-4236 Welcart e-Commerce < 2.8.5 - Subscriber+ Arbitrary File Access

Medium 6.5 Published Updated

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.

Sources

Also known as GHSA-h2jj-vr3r-h3v5.

Is CVE-2022-4236 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free