CVE-2024-40472

Sourcecodester Daily Calories Monitoring Tool v1.0 is vulnerable to SQL Injection via "delete-calorie.php."

Medium · published August 9, 2024

CVSS v3.1
6.5
EPSS
1%
Percentile
51.1
In the wild
Unconfirmed
What it is

⚠️ A crafty SQL injection lurks in the Daily Calories Monitoring Tool! Just by manipulating a URL, an attacker could gain unauthorized access to your database. 🔥 Think of this vulnerability like a sneaky delivery driver who just needs a simple change in the address to open the front door and browse around your home. If they know the right tricks, they could snoop around in places they shouldn't! An attacker could exploit this SQL injection vulnerability to manipulate the database, potentially deleting or altering calorie entries without authorization. While it's not the worst case scenario, it could lead to data integrity issues and unauthorized access to sensitive information.

Put simply

Think of this vulnerability like a sneaky delivery driver who just needs a simple change in the address to open the front door and browse around your home. If they know the right tricks, they could snoop around in places they shouldn't! This SQL injection vulnerability in sourcecodester's Daily Calories Monitoring Tool allows attackers to execute arbitrary SQL queries through the 'delete-calorie.php' endpoint, bypassing normal input validation.

What to do

An attacker could exploit this SQL injection vulnerability to manipulate the database, potentially deleting or altering calorie entries without authorization. While it's not the worst case scenario, it could lead to data integrity issues and unauthorized access to sensitive information. To safeguard your application, update to the latest version of the Daily Calories Monitoring Tool as soon as it's available. Additionally, implement parameterized queries to ensure user inputs are properly sanitized and secured. You’ve got this! With these simple steps, you can lock down your database and keep those pesky attackers at bay! 🛡️

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00664 · 51.1th percentile
Published
2024-08-09T00:00Z
EPSS history
Timeline
  • 09 AUG 00:00Z
    Sourcecodester Daily Calories Monitoring Tool v1.0 is vulnerable to SQL Injection via "delete-calorie.php."
    cvelistv5