CVE-2022-36543

Edoc-doctor-appointment-system v1.0.1 was discovered to contain a SQL injection vulnerability via the id parameter at /patient/doctors.php

published August 26, 2022

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

⚠️ Sneaky SQL injection alert! An attacker can exploit the "id" parameter in the Edoc Doctor Appointment System v1.0.1 — think of it as a mischievous prankster slipping a fake ID to gain access to sensitive data! This SQL injection is like a waiter who naively assumes any order is legitimate without checking the menu — all it takes is one crafty request to get into the kitchen and access the secret recipes. If exploited, an attacker could manipulate the database, potentially fetching sensitive patient information or even changing appointment details, leading to a massive breach of privacy and trust. The consequences could be absolutely devastating for both the patients and the healthcare provider.

Put simply

This SQL injection is like a waiter who naively assumes any order is legitimate without checking the menu — all it takes is one crafty request to get into the kitchen and access the secret recipes. The vulnerability arises from a lack of proper input validation for the "id" parameter in the doctors.php file, allowing attackers to inject SQL queries directly into the database request.

What to do

If exploited, an attacker could manipulate the database, potentially fetching sensitive patient information or even changing appointment details, leading to a massive breach of privacy and trust. The consequences could be absolutely devastating for both the patients and the healthcare provider. To secure your application, immediately patch to version 1.0.2 or later. Additionally, implement prepared statements to sanitize input and prevent SQL injection attacks from occurring. Regularly audit your code for similar vulnerabilities too! You've got this! Follow these steps and you’ll strengthen your defenses in no time! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01215 · 68.3th percentile
Published
2022-08-26T20:37Z
EPSS history
Timeline
  • 26 AUG 20:37Z
    Edoc-doctor-appointment-system v1.0.1 was discovered to contain a SQL injection vulnerability via the id parameter at /patient/doctors.php
    cvelistv5