cve/2023/CVE-2023-0467.md
2024-05-28 08:49:17 +00:00

18 lines
943 B
Markdown

### [CVE-2023-0467](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-0467)
![](https://img.shields.io/static/v1?label=Product&message=WP%20Dark%20Mode&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=0%3C%204.0.8%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-22%20Improper%20Limitation%20of%20a%20Pathname%20to%20a%20Restricted%20Directory%20('Path%20Traversal')&color=brighgreen)
### 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.
### POC
#### Reference
- https://wpscan.com/vulnerability/8eb431a6-59a5-4cee-84e0-156c0b31cfc4
#### Github
No PoCs found on GitHub currently.