Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was detected in SourceCodester Online Food Ordering System 2.0. Affected by this issue is the function include of the file /index.php. The manipulation of the argument page results in file inclusion. The attack can be launched remotely. The exploit is now public and may be used.
AnalysisAI
File inclusion in SourceCodester Online Food Ordering System 2.0 allows remote attackers to manipulate the 'page' parameter of /index.php to include arbitrary files via the application's include() function. Publicly available exploit code exists (referenced on GitHub), and the CVSS 7.3 score combined with no authentication or user interaction requirements (AV:N/AC:L/PR:N/UI:N) makes this trivially exploitable against any exposed deployment. The vulnerability falls under CWE-73 (External Control of File Name or Path) and primarily enables information disclosure, though depending on PHP configuration it may escalate to code execution.
Technical ContextAI
SourceCodester Online Food Ordering System is a PHP-based web application commonly used as a learning project or small-business deployment, distributed via sourcecodester.com. The flaw exists in /index.php where the user-supplied 'page' query parameter is passed directly into PHP's include() construct without sanitization or allow-listing. CWE-73 (External Control of File Name or Path) covers exactly this pattern - when user input controls a filesystem path, attackers can traverse directories (../) or, depending on PHP configuration (allow_url_include, allow_url_fopen), potentially include remote files. The CPE string cpe:2.3:a:sourcecodester:online_food_ordering_system:*:*:* indicates all versions are presumed affected, with version 2.0 explicitly named in the description.
RemediationAI
No vendor-released patch identified at time of analysis - SourceCodester projects are typically community-distributed scripts without formal patch pipelines, so administrators should plan to fix the code in place. The immediate fix is to replace the dynamic include in /index.php with an allow-list mapping of page identifiers to fixed file paths (for example, a switch statement that maps 'home' → 'pages/home.php') and reject any request whose 'page' value is not in the allow-list; this eliminates path traversal and remote inclusion entirely. As a compensating control, place the application behind a WAF rule blocking ../, null bytes, and absolute paths in the 'page' parameter, and harden PHP by setting allow_url_include=Off and allow_url_fopen=Off in php.ini to prevent escalation from LFI to RCE - the side effect being that any legitimate remote file fetches in other application code will break. If the application is not actively needed, removing it from public exposure is the safest action. Track upstream activity at https://vuldb.com/vuln/367963 and the exploit details at https://github.com/Mikkoseven/cve/issues/4.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Same weakness CWE-73 – External Control of File Name or Path
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-34059
GHSA-4wh8-2pqj-9gw4