CVE-2024-8557 SourceCodester Food Ordering Management System cancel-order.php sql injection
Remote attackers can exploit SQL injection in the cancel-order.php script to read or modify database contents in the Food Ordering Management System.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-8557?
CVE-2024-8557 is a medium-severity SQL injection vulnerability in SourceCodester Food Ordering Management System, published on 7 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability classified as critical has been found in SourceCodester Food Ordering Management System 1.0. This affects an unknown part of the file /foms/routers/cancel-order.php. The manipulation of the argument id leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.
Weakness: CWE-89
Which versions are affected by CVE-2024-8557?
It affects 1 product.
Products include Oretnom23 Food Ordering Management System.
How do I fix CVE-2024-8557?
No fix has been published for CVE-2024-8557 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2024-8557 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-8557 exists.
Other vulnerabilities in SourceCodester Food Ordering Management System
- CVE-2023-2594 SourceCodester Food Ordering Management System Registration sql injection
- CVE-2022-42990 SQL injection in n/a
- CVE-2025-9832 SourceCodester Food Ordering Management System register-router.php sql injection
- CVE-2024-8711 SourceCodester Food Ordering Management System includes exposure of information through directory listing
- CVE-2024-6213 SourceCodester Food Ordering Management System Login Panel login.php sql injection
Sources
Also known as GHSA-v589-hwp6-crrx.