Cyber Resilience

CWE · MITRE source

CWE-98Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

Abstraction: Variant · CVEs in our corpus: 1,241

The PHP application receives input from an upstream component, but it does not restrict or incorrectly restricts the input before its usage in "require," "include," or similar functions.

In certain versions and configurations of PHP, this can allow an attacker to specify a URL to a remote location from which the product will obtain the code to execute. In other cases in association with path traversal, the attacker can specify a local file that may contain executable statements that can be parsed by PHP.

Last updated: 04 July 2026 00:28 UTC

Cumulative inbound coverage

How completely the frameworks we cross-walk collectively cover this — the verdict is the strongest single mapping (overlapping partials are not summed); breadth shows the corroboration behind it.

Collective: full · 3 mapping(s) from 3 framework(s): CAPEC 1 (full) · OWASP-Web 1 (mostly) · ATT&CK 1 (mostly)

See the full cumulative-coverage rollup →

OWASP Top 10 for Web (2025)

This weakness contributes to A05:2025 Injection.

NIST 800-53 r5 controls that address this weakness (0)AI

Control Title Family Why it addresses this CWE
No NIST controls proposed yet.

MITRE ATT&CK techniques this weakness enables

Our own two-way CWE↔ATT&CK cross-walk — a direct mapping with no public source (the CWE→CAPEC→ATT&CK chain leaves most top weaknesses, incl. XSS and SQLi, mapped to nothing). Drafted by Grok and spot-checked by Claude Opus 4.8.

Direction: other covers this; this covers other (F/M/P = full / mostly / partial).

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2025-68645 KEV10.08.80.31772025-12-22
CVE-2023-22498.08.80.60812023-06-09
CVE-2023-490848.08.00.63772023-12-21
CVE-2023-69898.09.80.56572024-02-05
CVE-2024-57628.08.10.71602024-08-21
CVE-2014-91867.09.80.03652019-04-08
CVE-2021-218047.09.80.03702021-07-16
CVE-2022-400897.09.80.01982022-09-22
CVE-2022-44467.09.80.01272022-12-13
CVE-2022-46067.09.80.35432022-12-18
CVE-2023-34527.09.80.05622023-08-12
CVE-2023-44887.09.80.01002023-10-20
CVE-2023-51997.09.90.01382023-10-30
CVE-2024-2411 UPD7.09.80.01542024-03-29
CVE-2024-30849 UPD7.09.80.01122024-04-05
CVE-2024-3136 UPD7.09.80.05022024-04-09
CVE-2024-16007.09.30.31092024-04-10
CVE-2024-38067.09.80.02692024-05-14
CVE-2024-338637.09.80.00602024-05-14
CVE-2024-35517.09.80.00692024-05-17
CVE-2024-356297.09.60.00542024-06-04
CVE-2024-364157.09.10.00882024-06-10
CVE-2024-49367.09.80.01032024-06-14
CVE-2024-55777.09.80.00912024-06-14
CVE-2024-42587.09.80.00772024-06-15