CVE-2023-2315 Path Traversal in OpenCart versions 4.0.0.0 to 4.0.2.2
Authenticated users with log access can delete arbitrary files on the server via path traversal in OpenCart.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-2315?
CVE-2023-2315 is a high-severity path traversal vulnerability in Opencart, published on 26 Sep 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Path Traversal in OpenCart versions 4.0.0.0 to 4.0.2.2 allows an authenticated user with access/modify privilege on the Log component to empty out arbitrary files on the server
Which versions are affected by CVE-2023-2315?
2 open source packages ship an affected version, including opencart/opencart. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
opencart/opencart Packagist | From 4.0.0.0 | 4.0.2.3 |
opencart/opencart Packagist | From 4.0.0.0 | 4.0.2.3 |
Products include Opencart Opencart.
How do I fix CVE-2023-2315?
Upgrade opencart/opencart to 4.0.2.3 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2023-2315 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-2315 exists.
Other vulnerabilities in Opencart
Sources
Also known as GHSA-v4j2-cwmm-xg89.