CVE-2023-45338CWE-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

🚨 A sneaky SQL injection vulnerability in Online Food Ordering System v1.0 lets attackers craft their own queries just by tweaking the 'id' parameter! 🔥 Think of it as a restaurant kitchen that accepts any order without checking the recipe — even the weirdest requests end up on the menu! This means a malicious user could essentially cook up their own SQL commands, potentially leading to unauthorized access, data leaks, or even total chaos in the database. Imagine someone changing your entire menu or wiping out your entire order history — absolutely devastating!

Put simply

Think of it as a restaurant kitchen that accepts any order without checking the recipe — even the weirdest requests end up on the menu! The vulnerability arises because the 'id' parameter in routers/add-ticket.php doesn't perform proper validation, allowing unfiltered input to be sent directly to the database for execution.

What to do

This means a malicious user could essentially cook up their own SQL commands, potentially leading to unauthorized access, data leaks, or even total chaos in the database. Imagine someone changing your entire menu or wiping out your entire order history — absolutely devastating! To secure your system, immediately patch to the latest version that addresses this vulnerability. Implement strict input validation and use prepared statements to safeguard against SQL injection attacks. Regularly review and audit your code for similar vulnerabilities to strengthen your defenses. You've got this! By following these steps, you’ll transform into a security hero 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-02T14:01Z
EPSS history
Timeline
  • 02 NOV 14:01Z
    Online Food Ordering System v1.0 - Multiple Unauthenticated SQL Injections (SQLi)
    cvelistv5