CVE-2022-25003

Hospital Patient Record Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter in /admin/doctors/view_doctor.php

published February 24, 2022

CVSS
β€”
EPSS
2%
Percentile
76.2
In the wild
Unconfirmed
What it is

⚠️ A sneaky SQL injection is hiding in the Hospital Patient Record Management System! An attacker could exploit the `id` parameter and access sensitive data without breaking a sweat. πŸ” Think of it like a hospital receptionist who, without verification, hands over patient files just by asking for a doctor's name β€” no ID needed. That's exactly what can happen with this flaw! An attacker could potentially manipulate the SQL queries and access patient records, altering or stealing sensitive medical data. This breach could lead to devastating consequences, such as identity theft or unauthorized changes to patient information.

Put simply

Think of it like a hospital receptionist who, without verification, hands over patient files just by asking for a doctor's name β€” no ID needed. That's exactly what can happen with this flaw! This vulnerability allows attackers to inject malicious SQL code through the `id` parameter in `/admin/doctors/view_doctor.php`, effectively bypassing normal access controls.

What to do

An attacker could potentially manipulate the SQL queries and access patient records, altering or stealing sensitive medical data. This breach could lead to devastating consequences, such as identity theft or unauthorized changes to patient information. To remediate this vulnerability, developers should sanitize and validate all inputs, particularly the `id` parameter, and use prepared statements to prevent SQL injection. It’s also wise to audit the application for other potential weaknesses. You can tackle this! Implement these fixes and keep your patient records safe and sound. πŸ›‘οΈ

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01638 Β· 76.2th percentile
Published
2022-02-24T18:17Z
EPSS history
Timeline
  • 24 FEB 18:17Z
    Hospital Patient Record Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter in /admin/doctors/view_doctor.php
    cvelistv5