First published: Mon Mar 17 2025(Updated: )
A vulnerability was found in SourceCodester Online Food Ordering System 2.0. It has been classified as critical. Affected is an unknown function of the file /admin/ajax.php?action=add_to_cart. The manipulation of the argument pid leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
Credit: cna@vuldb.com
Affected Software | Affected Version | How to fix |
---|---|---|
Online Food Ordering System |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2025-2387 is classified as a critical vulnerability.
To fix CVE-2025-2387, validate and sanitize user inputs in the /admin/ajax.php?action=add_to_cart function to prevent SQL injection.
CVE-2025-2387 affects SourceCodester Online Food Ordering System version 2.0.
CVE-2025-2387 is an SQL injection vulnerability due to improper handling of the 'pid' argument.
Yes, CVE-2025-2387 can be exploited remotely by sending crafted requests to the affected endpoint.