Cyber Resilience

CVE-2024-3806

Published
14 May 2024
Modified
15 April 2026
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.027 84th percentile
Risk Priority 95 floored blend · peak EPSS

Summary

CVE-2024-3806 is a critical-severity PHP Remote File Inclusion (CWE-98) vulnerability in Themeforest (inferred from references). Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 16% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

The Porto theme for WordPress is vulnerable to local file inclusion in all versions through 7.1.0. The flaw exists in the porto_ajax_posts function and permits unauthenticated inclusion and execution of arbitrary server-side files, which can lead to PHP code execution when an attacker can supply or upload a PHP file. The issue is tracked as CWE-98 and carries a CVSS 3.1 score of 9.8.

Unauthenticated remote attackers can exploit the vulnerability over the network without credentials or user interaction. Successful exploitation allows bypass of access controls, disclosure of sensitive data, or full code execution on the affected WordPress site.

The EPSS score currently stands at 0.6498 with no material increase after disclosure. Public references point to the vendor’s ThemeForest page and Wordfence threat intelligence entries, but no specific patch version or mitigation guidance is detailed in the available information.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-1988Shared CWE-98
CVE-2025-49258Shared CWE-98
CVE-2025-63074Shared CWE-98
CVE-2026-28119Shared CWE-98
CVE-2026-22416Shared CWE-98
CVE-2025-58709Shared CWE-98
CVE-2025-30871Shared CWE-98
CVE-2025-69160Shared CWE-98
CVE-2026-22496Shared CWE-98
CVE-2025-60073Shared CWE-98

Affected Assets

Themeforest
inferred from references and description; NVD did not file a CPE for this CVE

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

Developer testing and static analysis can discover missing filename restrictions before deployment.

Validating all inputs before they reach include/require statements directly stops untrusted filenames from being used.

Enforcing access authorizations on resources limits what an included file can reach even if a bad name is supplied.

Information-flow rules can block the loading of external or unauthorized files into the PHP process.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices such as input validation and allow-listing of include paths directly prevent the weakness.

PR.PS-01 partial match
prevents

Hardened runtime configuration (e.g., allow_url_include=off) directly blocks RFI even if code is flawed.

PR.PS-05 partial match
prevents

Execution restrictions can prevent the remote payload from running, while eliminating the weakness reduces the need for such controls.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can detect RFI but does not prevent the weakness by itself.

prevents

Secure development lifecycle mandates input validation and safe include/require patterns that directly prevent remote file inclusion.

prevents

Application security requirements explicitly call for controls against injection and unsafe file operations.

prevents

Secure architecture principles reduce attack surface but do not specifically address dynamic file inclusion.

prevents

Secure coding standards directly require whitelisting and sanitization of filenames used in include/require statements.

none

Information access restriction limits what files can be read but does not address dynamic inclusion logic.

References