CWE-98: Improper Control of Filename for Include/Require Statement in PHP Program

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.

1,374 published CVE records name this weakness. Abstraction: Variant. Status: Draft. CWE-98 at MITRE

CVETitleCVSSEPSSPublished
CVE-2023-4488 Dropbox Folder Share <= 1.9.7 - Unauthenticated Local File Inclusion 9.8 critical 1.10% 20 Oct 2023
CVE-2023-31718 FUXA <= 1.1.12 is vulnerable to Local via Inclusion via /api/download – 1.73% 21 Sep 2023
CVE-2023-31716 FUXA <= 1.1.12 has a Local File Inclusion vulnerability via file=fuxa.log – 1.39% 21 Sep 2023
CVE-2023-23565 An issue was discovered in Geomatika IsiGeo Web 6.0 – 1.39% 22 Aug 2023
CVE-2023-3452 Canto <= 3.0.4 - Unauthenticated Remote File Inclusion 9.8 critical 19.1% 12 Aug 2023
CVE-2023-4195 PHP Remote File Inclusion in cockpit-hq/cockpit 9.9 critical 1.05% 6 Aug 2023
CVE-2023-2249 wpForo Forum <= 2.1.7 - Authenticated (Subscriber+) Local File Include, Server-Side Request Forgery, and PHAR Deserialization via file_get_contents 8.8 high 60.8% 9 Jun 2023
CVE-2023-2551 PHP Remote File Inclusion in unilogies/bumsys 7.2 high 1.91% 5 May 2023
CVE-2023-24217 AgileBio Electronic Lab Notebook v4.234 was discovered to contain a local file inclusion vulnerability 8.8 high 4.54% 6 Mar 2023
CVE-2022-4606 PHP Remote File Inclusion in flatpressblog/flatpress 8.8 high 35.4% 18 Dec 2022
CVE-2022-4446 PHP Remote File Inclusion in tsolucio/corebos 9.8 critical 1.38% 13 Dec 2022
CVE-2022-44786 An issue was discovered in Appalti & Contratti 9.12.2 7.5 high 0.82% 21 Nov 2022
CVE-2022-41547 Mobile Security Framework (MobSF) v0.9.2 and below was discovered to contain a local file inclusion (LFI) vulnerability in the… 7.5 high 1.53% 18 Oct 2022
CVE-2022-40089 A remote file inclusion (RFI) vulnerability in Simple College Website v1.0 allows attackers to execute arbitrary code via a crafted PHP file 9.8 critical 2.78% 22 Sep 2022
CVE-2021-29113 Remote file inclusion vulnerability in ArcGIS Server help documentation 4.7 medium 0.84% 7 Dec 2021
CVE-2021-22968 n/a https://github.com/concrete5/concrete5: Improper Control of Filename for Include/Require Statement in PHP Program – 3.23% 19 Nov 2021
CVE-2021-21804 n/a Advantech: Improper Control of Filename for Include/Require Statement in PHP Program 8.1 high 3.71% 16 Jul 2021
CVE-2020-13175 n/a - Cloud Access Connector - Cloud Access Connector Legacy: Improper Control of Filename for Include/Require Statement in PHP Program – 1.67% 11 Aug 2020
CVE-2020-5295 Local File read vulnerability in OctoberCMS 4.8 medium 7.37% 3 Jun 2020
CVE-2019-5479 n/a larvitbase-api: Improper Control of Filename for Include/Require Statement in PHP Program – 1.29% 3 Sep 2019
CVE-2014-9186 Honeywell Experion PKS: Improper Control of Filename for Include/Require Statement in PHP Program – 3.65% 8 Apr 2019
CVE-2015-6461 n/a Schneider Electric Modicon PLC: Improper Control of Filename for Include/Require Statement in PHP Program – 0.87% 21 Mar 2019
CVE-2016-6565 The Imagely NextGen Gallery plugin for Wordpress prior to version 2.1.57 may execute code from an uploaded malicious file – 2.47% 13 Jul 2018
CVE-2017-14095 Trend Micro Smart Protection Server (Standalone): Improper Control of Filename for Include/Require Statement in PHP Program – 12.4% 19 Jan 2018