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

🚨 Unchecked SQL parameters can lead to chaos! The '*_role' parameter in Online Food Ordering System v1.0 is completely vulnerable to unauthenticated SQL injection — it’s like handing out the keys to the database without even checking who’s asking! 🔥 Think of this like a restaurant that lets anyone back into the kitchen without a background check — anyone can just walk in and alter recipes or steal secret ingredients. In this case, malicious users can tamper with the database without any authentication, turning a simple order into a recipe for disaster. An attacker could gain complete control over the database, potentially allowing them to read sensitive data, modify orders, or even delete everything! This is nothing short of a digital buffet where the bad guys feast on your data without any restrictions.

Put simply

Think of this like a restaurant that lets anyone back into the kitchen without a background check — anyone can just walk in and alter recipes or steal secret ingredients. In this case, malicious users can tamper with the database without any authentication, turning a simple order into a recipe for disaster. This vulnerability allows attackers to exploit the '*_role' parameter in the user-router.php file, as it lacks proper input validation, sending unchecked characters directly to the database, leading to SQL injection attacks.

What to do

An attacker could gain complete control over the database, potentially allowing them to read sensitive data, modify orders, or even delete everything! This is nothing short of a digital buffet where the bad guys feast on your data without any restrictions. Update your Online Food Ordering System to the latest version immediately to patch this critical vulnerability. Implement input validation for all user-provided parameters, particularly those interacting with the database, to block unauthorized SQL commands. Regularly perform security audits on your application to catch similar issues early on. You've got this! With these steps, you'll be reinforcing your defenses and keeping your database safe. 🛡️

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:03Z
EPSS history
Timeline
  • 02 NOV 14:03Z
    Online Food Ordering System v1.0 - Multiple Unauthenticated SQL Injections (SQLi)
    cvelistv5