CVE-2024-3807 Porto <= 7.1.0 - Authenticated (Contributor+) Local File Inclusion via Post Meta
Authenticated contributors can exploit Local File Inclusion in the Porto WordPress theme to execute arbitrary PHP code and read sensitive data.
- 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-2024-3807?
CVE-2024-3807 is a high-severity path traversal vulnerability in P-THEMES Porto, published on 9 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The Porto theme for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 7.1.0 via 'porto_page_header_shortcode_type', 'slideshow_type' and 'post_layout' post meta. This makes it possible for authenticated attackers, with contributor-level and above permissions, to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where php file type can be uploaded and included. This was partially patched in version 7.1.0 and fully patched in version 7.1.1.
Weakness: CWE-98
Which versions are affected by CVE-2024-3807?
How do I fix CVE-2024-3807?
No fix has been published for CVE-2024-3807 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-2024-3807 being exploited?
There is no known exploitation of CVE-2024-3807 in the wild and no public exploit code.
Sources
Also known as GHSA-g78h-6697-3h7r.