CVE-2025-56212

phpgurukul Hospital Management System 4.0 is vulnerable to SQL Injection in add-doctor.php via the docname parameter

Critical · published August 25, 2025

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

🚨 A single crafted docname parameter can open a floodgate of malicious SQL queries in phpgurukul Hospital Management System 4.0! 🔥 Think of it like a receptionist taking orders without checking IDs — if they don’t validate who’s asking, anyone could walk in and make dangerous changes to patient records. An attacker could exploit this SQL injection vulnerability to gain access to sensitive data, manipulate hospital records, or even compromise the entire database. This could lead to devastating consequences, including loss of patient trust and potential legal ramifications for the hospital.

Put simply

Think of it like a receptionist taking orders without checking IDs — if they don’t validate who’s asking, anyone could walk in and make dangerous changes to patient records. The vulnerability exists in the add-doctor.php file, where unsanitized user input in the docname parameter allows attackers to execute arbitrary SQL commands, bypassing normal security measures.

What to do

An attacker could exploit this SQL injection vulnerability to gain access to sensitive data, manipulate hospital records, or even compromise the entire database. This could lead to devastating consequences, including loss of patient trust and potential legal ramifications for the hospital. Immediate action is vital! Validate and sanitize all user inputs within add-doctor.php and consider implementing prepared statements to prevent SQL injection. Update your system to the latest version and conduct an extensive security audit of your database interactions. You've got this! With these steps, you'll be on the path to becoming a security hero! 🛡️

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.00433 · 36.6th percentile
Published
2025-08-25T00:00Z
EPSS history
Timeline
  • 25 AUG 00:00Z
    phpgurukul Hospital Management System 4.0 is vulnerable to SQL Injection in add-doctor.php via the docname parameter
    cvelistv5