CVE-2026-10694 Details
Description
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.
A local file inclusion vulnerability has been identified in SourceCodester Online Food Ordering System version 2.0. The issue arises in the '/index.php' and '/admin/index.php' files, where user input from the 'page' parameter is directly passed to the PHP 'include' function without proper sanitization or path restrictions. This vulnerability allows remote attackers to include arbitrary PHP files or use PHP stream wrappers to read the source code of sensitive files, such as database configuration files. No login or authorization is required to exploit this vulnerability.
To address this vulnerability, implement the following measures: 1. Use a whitelist of allowed pages and reject any requests that do not match. 2. Disable PHP wrappers in production by setting 'allow_url_include = Off' and 'allow_url_fopen = Off' in php.ini. 3. Use 'basename()' to strip directory traversal characters from the 'page' parameter before including it. 4. Conduct regular security audits to identify and fix potential vulnerabilities, especially in file inclusion logic.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 3, 2026CISA-ADP
Assessed Jun 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Mikkoseven/cve/issues/4 | [email protected] | ExploitIssue TrackingTechnical Description |
| https://vuldb.com/cve/CVE-2026-10694 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/830903 | [email protected] | Permission Required |
| https://vuldb.com/vuln/367963 | [email protected] | Permission Required |
| https://vuldb.com/vuln/367963/cti | [email protected] | Content Wall |
| https://www.sourcecodester.com/ | [email protected] | Vendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-73 | External Control of File Name or Path | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| SourceCodester Online Food Ordering System | V2.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 22, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 3, 2026 | New CVE Received | [email protected] |
Volerion