CVE-2024-3807: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in P-THEMES Porto
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.
AI Analysis
Technical Summary
CVE-2024-3807 is a Local File Inclusion vulnerability (CWE-98) in the Porto WordPress theme affecting all versions up to 7.1.0. It arises from improper control of filenames in include/require statements related to the 'porto_page_header_shortcode_type', 'slideshow_type', and 'post_layout' post meta fields. Authenticated attackers with contributor or higher privileges can exploit this to include arbitrary files, potentially executing PHP code on the server. The issue was partially patched in version 7.1.0 and fully patched in version 7.1.1.
Potential Impact
Successful exploitation allows authenticated users with contributor-level or higher permissions to execute arbitrary PHP code on the server, which can lead to bypassing access controls, unauthorized data access, and full remote code execution. This poses a high risk to affected sites running vulnerable versions of the Porto theme.
Mitigation Recommendations
Upgrade the Porto theme to version 7.1.1 or later, where the vulnerability is fully patched. Versions up to 7.1.0 are vulnerable, with only a partial fix in 7.1.0. No other mitigation is indicated by the vendor advisory.
CVE-2024-3807: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in P-THEMES Porto
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-3807 is a Local File Inclusion vulnerability (CWE-98) in the Porto WordPress theme affecting all versions up to 7.1.0. It arises from improper control of filenames in include/require statements related to the 'porto_page_header_shortcode_type', 'slideshow_type', and 'post_layout' post meta fields. Authenticated attackers with contributor or higher privileges can exploit this to include arbitrary files, potentially executing PHP code on the server. The issue was partially patched in version 7.1.0 and fully patched in version 7.1.1.
Potential Impact
Successful exploitation allows authenticated users with contributor-level or higher permissions to execute arbitrary PHP code on the server, which can lead to bypassing access controls, unauthorized data access, and full remote code execution. This poses a high risk to affected sites running vulnerable versions of the Porto theme.
Mitigation Recommendations
Upgrade the Porto theme to version 7.1.1 or later, where the vulnerability is fully patched. Versions up to 7.1.0 are vulnerable, with only a partial fix in 7.1.0. No other mitigation is indicated by the vendor advisory.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-04-15T13:16:02.157Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6c9bb7ef31ef0b566cba
Added to database: 2/25/2026, 9:41:47 PM
Last enriched: 4/9/2026, 2:22:21 PM
Last updated: 4/12/2026, 9:25:06 AM
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.