CVE-2023-45323CWE-89

Online Food Ordering System v1.0 - Multiple Unauthenticated SQL Injections (SQLi)

Critical · published November 2, 2023

CVSS v3.1
9.8
EPSS
1%
Percentile
52.6
In the wild
Unconfirmed
What it is

🔥 Unfiltered inputs are a recipe for disaster! The Online Food Ordering System v1.0 serves up multiple unauthenticated SQL injections that let attackers order a whole lot more than just lunch! Think of this vulnerability like a restaurant that accepts any handwritten order without checking it—any sneaky character could slip in, and before you know it, the kitchen is cooking up chaos instead of your favorite dish! An attacker could manipulate the 'name' parameter to execute any SQL command they desire, potentially accessing sensitive data, modifying tables, or even wiping the entire database clean. This could lead to devastating data breaches, crippling the service and exposing customer information!

Put simply

Think of this vulnerability like a restaurant that accepts any handwritten order without checking it—any sneaky character could slip in, and before you know it, the kitchen is cooking up chaos instead of your favorite dish! The SQL injection vulnerabilities in the routers/add-item.php endpoint arise because the system does not validate or sanitize the 'name' parameter, allowing untrusted input to be sent directly to the database.

What to do

An attacker could manipulate the 'name' parameter to execute any SQL command they desire, potentially accessing sensitive data, modifying tables, or even wiping the entire database clean. This could lead to devastating data breaches, crippling the service and exposing customer information! To fix this, immediately validate and sanitize all input from the 'name' parameter. Implement parameterized queries or prepared statements to prevent SQL injections. Don't forget to test and patch to the latest version as soon as it becomes available! This is fixable! Follow these steps and you'll have your system secured in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00700 · 52.6th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2023-11-02T13:08Z
EPSS history
Timeline
  • 02 NOV 13:08Z
    Online Food Ordering System v1.0 - Multiple Unauthenticated SQL Injections (SQLi)
    cvelistv5