CVE-2022-36759

Online Food Ordering System v1.0 was discovered to contain a SQL injection vulnerability via the component /dishes.php?res_id=

published September 2, 2022

CVSS
—
EPSS
1%
Percentile
66.6
In the wild
Unconfirmed
What it is

🚨 A sneaky SQL injection hides in the Online Food Ordering System! By simply tampering with the URL parameter, an attacker could potentially access sensitive data. 🔥 Think of the SQL injection like a mischievous diner who sneaks into the kitchen by slipping a fake reservation under the door. Once inside, they can read the recipe book and even change the daily specials without anyone noticing! This vulnerability could allow an attacker to manipulate the database, potentially leading to unauthorized access to customer data, menu details, or even the ability to alter orders. Imagine the chaos if they decided to swap the ingredients on all the food items!

Put simply

Think of the SQL injection like a mischievous diner who sneaks into the kitchen by slipping a fake reservation under the door. Once inside, they can read the recipe book and even change the daily specials without anyone noticing! The SQL injection vulnerability in the Online Food Ordering System occurs through the unvalidated input in the /dishes.php?res_id= parameter, allowing attackers to execute arbitrary SQL commands against the database.

What to do

This vulnerability could allow an attacker to manipulate the database, potentially leading to unauthorized access to customer data, menu details, or even the ability to alter orders. Imagine the chaos if they decided to swap the ingredients on all the food items! To protect your system, validate and sanitize all user inputs, especially for parameters like res_id. Additionally, consider using prepared statements or parameterized queries to eliminate the risk of SQL injection. Don't delay—secure the system today! You've got this! With these steps, you can keep your food ordering service safe and sound. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01148 · 66.6th percentile
Published
2022-09-02T02:37Z
EPSS history
Timeline
  • 02 SEP 02:37Z
    Online Food Ordering System v1.0 was discovered to contain a SQL injection vulnerability via the component /dishes.php?res_id=
    cvelistv5