CVE-2023-45342CWE-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 phone numbers are the wild cards here! The Online Food Ordering System v1.0 is wide open to multiple SQL injection attacks through its 'phone' parameter — it’s like leaving the back door of your restaurant unlocked for anyone to stroll in. 🔥 Think of this like a restaurant that takes orders over the phone but doesn't bother verifying what the customer says. If they let anyone place an order without checking if the phone number is valid, a prankster could order a feast and skip paying, causing chaos in the kitchen! With this vulnerability, a malicious actor could execute any SQL command on the database, leading to unauthorized access to sensitive data such as customer information, order histories, or even altering records. This could be absolutely devastating for the business's reputation and result in significant financial loss.

Put simply

Think of this like a restaurant that takes orders over the phone but doesn't bother verifying what the customer says. If they let anyone place an order without checking if the phone number is valid, a prankster could order a feast and skip paying, causing chaos in the kitchen! The vulnerability arises because the 'phone' parameter in the routers/register-router.php file does not validate input, allowing attackers to inject SQL commands directly into the database without authentication.

What to do

With this vulnerability, a malicious actor could execute any SQL command on the database, leading to unauthorized access to sensitive data such as customer information, order histories, or even altering records. This could be absolutely devastating for the business's reputation and result in significant financial loss. Immediately patch the Online Food Ordering System to version 1.1 or later, where input sanitization is implemented properly. Review all endpoints to ensure that user inputs are validated and sanitized before being sent to the database. Conduct a thorough security audit to catch any other potential vulnerabilities lurking around! You’ve got this! Fixing this vulnerability will strengthen your system against attacks and keep your customers’ data 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-02T13:47Z
EPSS history
Timeline
  • 02 NOV 13:47Z
    Online Food Ordering System v1.0 - Multiple Unauthenticated SQL Injections (SQLi)
    cvelistv5