CVE-2023-0467 WP Dark Mode < 4.0.8 - Subscriber+ Local File Inclusion
Attackers can exploit unsanitized shortcode parameters to include arbitrary files, potentially leading to code execution or data disclosure.
- 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-0467?
CVE-2023-0467 is a medium-severity path traversal vulnerability in Unknown WP Dark Mode, published on 27 Mar 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The WP Dark Mode WordPress plugin before 4.0.8 does not properly sanitize the style parameter in shortcodes before using it to load a PHP template. This leads to Local File Inclusion on servers where non-existent directories may be traversed, or when chained with another vulnerability allowing arbitrary directory creation.
Weakness: CWE-22
Which versions are affected by CVE-2023-0467?
It affects 1 product.
Products include Wppool Wp Dark Mode.
How do I fix CVE-2023-0467?
No fix has been published for CVE-2023-0467 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-0467 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-0467 exists.
Other vulnerabilities in Unknown WP Dark Mode
Sources
Also known as GHSA-mrr5-9q84-93pr.