Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed /classes/Users.php endpoint
-
DeliveryCraft SQL injection payload in ID parameter
-
ExploitSubmit unauthenticated HTTP request
-
ExecutionDatabase query executes injected SQL
-
ImpactExtract or modify patient records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | No special conditions are required for initial access - the CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms remote unauthenticated exploitation against any network-accessible deployment of SourceCodester Hospitals Patient Records Management System 1.0. The specific vulnerable endpoint is /classes/Users.php with the query parameter f=delete; the attacker must be able to reach this file over HTTP/HTTPS. Exploitation is limited by the following factors: the application must be deployed and network-accessible (it is an open-source system commonly self-hosted by small clinics or academic environments); the database user account under which the PHP application connects must have sufficient privileges for the injected query to yield results; and the E:P exploit maturity indicates POC-level tooling rather than fully weaponized automated scanning, slightly increasing required attacker effort compared to a KEV-listed vulnerability. |
| Impact | The CVSS 4.0 base score of 5.5 (Medium) reflects low impact ratings across all three CIA pillars (VC:L/VI:L/VA:L) with no scope change to secondary systems, but the attack vector characteristics are severe: network-accessible (AV:N), low complexity (AC:L), no attack requirements (AT:N), no privileges required (PR:N), and no user interaction (UI:N). The E:P exploit maturity modifier in the CVSS 4.0 supplemental metrics confirms a proof-of-concept is publicly available, which meaningfully raises operational risk beyond the base score alone. There is no CISA KEV listing and no EPSS data provided, so widespread exploitation cannot be confirmed. The VulDB origin of this report (cna@vuldb.com) and the GitHub issue reference suggest researcher-discovered and self-published exploitation rather than threat-actor-driven discovery. The low CIA impact scores are somewhat inconsistent with classic SQL injection potential - a fully exploitable SQLi endpoint could yield complete database read access depending on database permissions, suggesting the CVSS scores may conservatively model partial access only. Defenders should treat this as higher practical risk than the score alone implies, particularly for any internet-exposed deployment of this open-source system. |
| Exploit ScenarioDerived | An unauthenticated remote attacker sends a crafted HTTP GET or POST request to /classes/Users.php?f=delete with a manipulated ID parameter containing SQL metacharacters (e.g., ID=1 OR 1=1-- or a UNION-based payload). The application passes the unsanitized value directly into a SQL DELETE or SELECT query, allowing the attacker to enumerate database tables, extract patient records, or manipulate data. A publicly available proof-of-concept at github.com/zzb1388/cve2/issues/2 lowers the skill threshold required to execute this attack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 31, 2026
SQL injection in SourceCodester Hospitals Patient Records Management System 1.0 allows unauthenticated remote attackers to manipulate the ID parameter in /classes/Users.php?f=delete, enabling unauthorized read and write access to the underlying database. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms no authentication or user interaction is required, and the E:P modifier confirms publicly available exploit code exists. While CVSS impact scores are rated Low across confidentiality, integrity, and availability, the unauthenticated network accessibility combined with a live POC elevates the practical deployment risk for any internet-exposed instance.
RemediationAI
No vendor-released patch has been identified at time of analysis. The primary remediation is to replace direct string interpolation of the ID parameter in /classes/Users.php with parameterized prepared statements (e.g., PDO or MySQLi with bound parameters), which eliminates the injection surface at the root cause. As an immediate compensating control, operators should restrict access to the /classes/Users.php endpoint to authenticated administrative sessions only via application-layer or web server access controls (e.g., .htaccess IP allowlisting or session validation middleware), though this does not fix the underlying flaw and introduces management overhead. Input validation on the ID parameter (strict integer casting via intval() in PHP) provides an additional defensive layer but should not be treated as a sole fix. Any internet-exposed deployment of this system should be taken offline or placed behind a web application firewall with SQLi ruleset enabled (e.g., ModSecurity with OWASP CRS) until a proper fix is applied. Reference: github.com/zzb1388/cve2/issues/2 and vuldb.com/vuln/367465.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected application is a PHP-based hospital patient records management system distributed by SourceCodester, a provider of open-source academic and small-business web applications. The vulnerable endpoint /classes/Users.php?f=delete processes a user-supplied ID parameter without adequate sanitization or parameterized query usage before constructing SQL statements. The root cause is classified as CWE-74 (Injection), the broad injection weakness class encompassing SQL injection (CWE-89), indicating the application directly interpolates untrusted input into a database query. The PHP tag confirms the server-side language; no specific database engine is identified in available data, though SourceCodester projects of this type commonly use MySQL. No CPE string was provided, limiting precise version scoping beyond the stated version 1.0.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
DescriptionCVE.org
A security flaw has been discovered in SourceCodester Hospitals Patient Records Management System 1.0. This impacts an unknown function of the file /classes/Users.php?f=delete. The manipulation of the argument ID results in sql injection. The attack may be launched remotely. The exploit has been released to the public and may be used for attacks.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-33506
GHSA-cvqv-2wqp-3x8w
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB