CVE-2023-40945

Sourcecodester Doctor Appointment System 1.0 is vulnerable to SQL Injection in the variable $userid at doctors\myDetails.php

published September 11, 2023

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

⚠️ A vulnerable SQL injection point in the Doctor Appointment System could let attackers access sensitive data with a crafty query! 🦸‍♂️ Think of this like a patient slipping a forged prescription to a pharmacist who never checks ID — it could allow unauthorized access to confidential information. With this SQL injection vulnerability, an attacker could manipulate database queries, potentially accessing or altering patient details. It's like giving someone the keys to the vault without them even needing a proper reason — absolutely devastating for privacy!

Put simply

Think of this like a patient slipping a forged prescription to a pharmacist who never checks ID — it could allow unauthorized access to confidential information. The vulnerability stems from unsanitized input in the variable $userid at doctors/myDetails.php, allowing attackers to inject malicious SQL commands into the database queries.

What to do

With this SQL injection vulnerability, an attacker could manipulate database queries, potentially accessing or altering patient details. It's like giving someone the keys to the vault without them even needing a proper reason — absolutely devastating for privacy! To shore up security, sanitize all user inputs, especially in the $userid variable. Additionally, implementing prepared statements and parameterized queries can significantly mitigate this risk. Don't forget to review your code for similar vulnerabilities! You've got this! By taking these steps, you’ll be protecting sensitive health information and boosting your security hero status! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00934 · 60.4th percentile
Published
2023-09-11T00:00Z
EPSS history
Timeline
  • 11 SEP 00:00Z
    Sourcecodester Doctor Appointment System 1.0 is vulnerable to SQL Injection in the variable $userid at doctors\myDetails.php
    cvelistv5