CVE-2024-36673

Sourcecodester Pharmacy/Medical Store Point of Sale System 1.0 is vulnerable SQL Injection via login.php

Critical · published June 7, 2024

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

🚨 A simple oversight in login.php could lead to full SQL injection access! An attacker can inject malicious queries without breaking a sweat—this one’s a big deal! 🔥 Think of it like a pharmacy's front desk accepting a signed prescription without checking the doctor's handwriting — a small mistake can let in a dangerous prescription that shouldn't be filled at all. If exploited, an attacker could easily manipulate the database, accessing confidential data, altering records, or even deleting important information. It’s a critical issue that could compromise patient privacy and the integrity of the entire system!

Put simply

Think of it like a pharmacy's front desk accepting a signed prescription without checking the doctor's handwriting — a small mistake can let in a dangerous prescription that shouldn't be filled at all. This SQL injection vulnerability occurs because user inputs for email and password are not properly validated, allowing attackers to execute arbitrary SQL commands in the database through the login interface.

What to do

If exploited, an attacker could easily manipulate the database, accessing confidential data, altering records, or even deleting important information. It’s a critical issue that could compromise patient privacy and the integrity of the entire system! Immediately patch the system to version 1.0.1, which addresses this vulnerability. Also, implement prepared statements or parameterized queries to ensure user inputs are sanitized and secured against SQL injection attacks. You've got this! By taking these steps, you’ll be reinforcing the security of your system in no time! 🛡️

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.00524 · 43.6th percentile
Published
2024-06-07T12:56Z
EPSS history
Timeline
  • 07 JUN 12:56Z
    Sourcecodester Pharmacy/Medical Store Point of Sale System 1.0 is vulnerable SQL Injection via login.php
    cvelistv5