PT-2026-79827 · Sourcecodester · Simple Online Food Ordering System
CVSS v2.0
7.5
High
| Vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Name of the Vulnerable Software and Affected Versions
SourceCodester Simple Online Food Ordering System version 1.0
Description
An issue exists in the processing of the '/fos/admin/ajax.php?action=add to cart' endpoint. Remote manipulation of the
pid variable allows for SQL injection, a technique where malicious SQL statements are inserted into entry fields for execution.Recommendations
Update SourceCodester Simple Online Food Ordering System version 1.0.
As a temporary workaround, restrict access to the '/fos/admin/ajax.php?action=add to cart' endpoint or avoid using the
pid parameter until a patch is applied.Exploit
Fix
SQL injection
Special Elements Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Simple Online Food Ordering System