CVE-2024-3806: 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 the 'porto_ajax_posts' function. This makes it possible for unauthenticated attackers 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.
AI Analysis
Technical Summary
CVE-2024-3806 is a Local File Inclusion vulnerability (CWE-98) in the Porto theme for WordPress, affecting all versions up to and including 7.1.0. The vulnerability exists in the 'porto_ajax_posts' function, which improperly controls the filename used in include/require statements. This allows unauthenticated attackers to include arbitrary files on the server, leading to remote code execution if PHP files can be uploaded and included. The CVSS 3.1 base score is 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), reflecting its critical impact and ease of exploitation over the network without privileges or user interaction.
Potential Impact
Successful exploitation enables unauthenticated attackers to execute arbitrary PHP code on the affected server. This can result in bypassing access controls, unauthorized data disclosure, and full system compromise. The vulnerability directly impacts confidentiality, integrity, and availability of the system hosting the vulnerable Porto theme.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict file upload capabilities and disable or restrict access to the vulnerable 'porto_ajax_posts' function if possible. Monitor for updates from P-THEMES and apply patches promptly once available.
CVE-2024-3806: 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 the 'porto_ajax_posts' function. This makes it possible for unauthenticated attackers 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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-3806 is a Local File Inclusion vulnerability (CWE-98) in the Porto theme for WordPress, affecting all versions up to and including 7.1.0. The vulnerability exists in the 'porto_ajax_posts' function, which improperly controls the filename used in include/require statements. This allows unauthenticated attackers to include arbitrary files on the server, leading to remote code execution if PHP files can be uploaded and included. The CVSS 3.1 base score is 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), reflecting its critical impact and ease of exploitation over the network without privileges or user interaction.
Potential Impact
Successful exploitation enables unauthenticated attackers to execute arbitrary PHP code on the affected server. This can result in bypassing access controls, unauthorized data disclosure, and full system compromise. The vulnerability directly impacts confidentiality, integrity, and availability of the system hosting the vulnerable Porto theme.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict file upload capabilities and disable or restrict access to the vulnerable 'porto_ajax_posts' function if possible. Monitor for updates from P-THEMES and apply patches promptly once available.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-04-15T13:15:46.346Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6c9bb7ef31ef0b566cb6
Added to database: 2/25/2026, 9:41:47 PM
Last enriched: 4/9/2026, 2:22:17 PM
Last updated: 4/12/2026, 7:58:15 AM
Views: 10
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.