CVE-2023-6559 MW WP Form <= 5.0.3 - Improper Limitation of File Name to Unauthenticated Arbitrary File Deletion

High 7.5 Published Updated

Unauthenticated attackers can delete arbitrary files, including configuration files, potentially leading to site takeover and remote code execution.

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

CVE-2023-6559 is a high-severity path traversal vulnerability in inc2734 MW WP Form, published on 16 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The MW WP Form plugin for WordPress is vulnerable to arbitrary file deletion in all versions up to, and including, 5.0.3. This is due to the plugin not properly validating the path of an uploaded file prior to deleting it. This makes it possible for unauthenticated attackers to delete arbitrary files, including the wp-config.php file, which can make site takeover and remote code execution possible.

Weakness: CWE-22

Which versions are affected by CVE-2023-6559?

It affects 1 product.

Products include Web-Soudan Mw Wp Form.

How do I fix CVE-2023-6559?

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

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

Sources

Also known as GHSA-gp3f-cq56-47mc.

Is CVE-2023-6559 in your software?

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

Check your SBOMs for free