CVE-2024-40392

SourceCodester Pharmacy/Medical Store Point of Sale System Using PHP/MySQL and Bootstrap Framework with Source Code 1.0 was discovered to contain a SQL…

Critical · published July 16, 2024

CVSS v3.1
9.8
EPSS
1%
Percentile
42.1
In the wild
Unconfirmed
What it is

🚨 A sneaky SQL injection lurks in the Pharmacy POS system, ready to spill sensitive data like an overturned medicine cabinet! 🔥 Think of this vulnerability like a mischievous customer slipping a note under the counter to change their prescription; it bypasses all checks and balances, potentially allowing for unauthorized access and manipulation of critical inventory data. An attacker exploiting this vulnerability could gain unauthorized access to your database, allowing them to view, alter, or delete sensitive information, which is absolutely devastating for patient privacy and trust. This could lead to data breaches that harm not only your operations but your customers as well.

Put simply

Think of this vulnerability like a mischievous customer slipping a note under the counter to change their prescription; it bypasses all checks and balances, potentially allowing for unauthorized access and manipulation of critical inventory data. This SQL injection vulnerability resides in the name parameter of addnew.php, allowing an attacker to inject malicious SQL queries. This means they could manipulate the database directly without proper authorization, compromising the integrity of the system.

What to do

An attacker exploiting this vulnerability could gain unauthorized access to your database, allowing them to view, alter, or delete sensitive information, which is absolutely devastating for patient privacy and trust. This could lead to data breaches that harm not only your operations but your customers as well. Patch your system immediately to the latest version that addresses this issue. Sanitize all user inputs and implement parameterized queries to prevent SQL injection attacks. Regularly audit your code for vulnerabilities like this to stay ahead of potential threats. You've got this! Follow these steps and you'll turn this critical vulnerability into a thing of the past! 🛡️

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.00502 · 42.1th percentile
Published
2024-07-16T00:00Z
EPSS history
Timeline
  • 16 JUL 00:00Z
    SourceCodester Pharmacy/Medical Store Point of Sale System Using PHP/MySQL and Bootstrap Framework with Source Code 1.0 was discovered to contain a SQL…
    cvelistv5