CVE-2022-4030 Simple:Press <= 6.8 - Authenticated (Subscriber+) Path Traversal to Arbitrary File Deletion
Authenticated subscribers can delete arbitrary files via path traversal, potentially removing wp-config.php to enable site takeover and remote code execution.
- 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-4030?
CVE-2022-4030 is a high-severity path traversal vulnerability in simplepress Simple:Press Forum, published on 29 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The Simple:Press plugin for WordPress is vulnerable to Path Traversal in versions up to, and including, 6.8 via the 'file' parameter which can be manipulated during user avatar deletion. This makes it possible with attackers, with minimal permissions such as a subscriber, to supply paths to arbitrary files on the server that will subsequently be deleted. This can be used to delete the wp-config.php file that can allow an attacker to configure the site and achieve remote code execution.
Weakness: CWE-22
Which versions are affected by CVE-2022-4030?
It affects 1 product.
Products include Simple-Press Simple\.
How do I fix CVE-2022-4030?
No fix has been published for CVE-2022-4030 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-4030 being exploited?
There is no known exploitation of CVE-2022-4030 in the wild and no public exploit code.
Other vulnerabilities in simplepress Simple:Press Forum
- CVE-2020-36706 Simple:Press – WordPress Forum Plugin <= 6.6.0 - Arbitrary File Upload
- CVE-2022-4027 Simple:Press <= 6.8 - Unauthenticated Stored Cross-Site Scripting via Forum Replies
- CVE-2022-4028 Simple:Press <= 6.8 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Profile Signatures
- CVE-2022-4029 Simple:Press <= 6.8 - Reflected Cross-Site Scripting via Cookie Value
- CVE-2022-4031 Simple:Press <= 6.8 - Authenticated (Admin+) Path Traversal to Arbitrary File Modification
Sources
Also known as GHSA-gmfr-f9pg-xc4h.