Impact
A flaw exists in the admin/add_food.php script of SourceCodester Online Food Ordering System that allows an attacker to upload any file type through the image parameter. This unrestricted upload can be leveraged to place executable code on the server, enabling remote code execution. The weakness falls under unauthorized access and uncontrolled file upload, making it possible for an attacker to compromise the system’s integrity and confidentiality.
Affected Systems
The affected vendor is SourceCodester and the product is Online Food Ordering System, version 1.0. The vulnerability is present in the admin/add_food.php endpoint and is applicable to deployments that have not updated or patched the system.
Risk and Exploitability
The CVSS score of 5.1 indicates a moderate severity, while the EPSS score is not available, implying no publicly reported exploitation frequency data. The vulnerability is not listed in the CISA KEV catalog, but an exploit has been published and may be used remotely. Attackers would need to reach the admin interface, potentially bypassing authentication, to manipulate the image argument and upload malicious files. Successful exploitation would grant code execution on the server.
OpenCVE Enrichment