CVE-2023-7040 codelyfe Stupid Simple CMS rename.php path traversal

Medium 4.3 Published Updated

Remote attackers can exploit a path traversal vulnerability in the rename function to access or modify files outside the intended directory.

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-2023-7040?

CVE-2023-7040 is a medium-severity path traversal vulnerability in codelyfe Stupid Simple CMS, published on 21 Dec 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability classified as problematic was found in codelyfe Stupid Simple CMS up to 1.2.4. Affected by this vulnerability is an unknown functionality of the file /file-manager/rename.php. The manipulation of the argument oldName leads to path traversal: '../filedir'. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-248689 was assigned to this vulnerability.

Weakness: CWE-24

Which versions are affected by CVE-2023-7040?

It affects 1 product.

Products include Codelyfe Stupid Simple Cms.

How do I fix CVE-2023-7040?

No fix has been published for CVE-2023-7040 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-2023-7040 being exploited?

There is no known exploitation of CVE-2023-7040 in the wild and no public exploit code.

Sources

Also known as GHSA-33gw-pvgj-248f.

Is CVE-2023-7040 in your software?

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

Check your SBOMs for free