Patient Record Management System
CVE-2025-7754
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid credentials
-
DeliveryAuthenticate to application
-
ExploitCraft SQL injection payload
-
ExecutionSubmit malicious itr_no parameter
-
PersistExecute arbitrary SQL query
-
ImpactExtract sensitive patient data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | Exploitation requires valid authenticated user credentials (PR:L) - the attacker must have already obtained or been issued a legitimate user account in the Patient Record Management System. No special configuration or feature enablement is needed; the vulnerable /xray_form.php endpoint is accessible by default to authenticated users. The attack does not require special network positioning or timing (AC:L, AT:N). Limitations reducing realistic risk: (1) Unauthenticated users cannot trigger the vulnerability; (2) The application must be deployed with default settings and no input filtering; (3) Database error messages or verbose responses are required to extract data effectively - applications configured to suppress SQL errors may limit the attacker's ability to enumerate data; (4) The low EPSS score (0.04%) suggests real-world deployments may have compensating controls (WAF, IDS signatures) or be sufficiently isolated that exploitation is statistically rare. |
| Impact | This vulnerability presents a significant disconnect between severity classification and real-world risk. The CVSS 4.0 score of 2.1 (with PR:L) correctly reflects that authenticated access is required, which substantially reduces risk compared to unauthenticated injection. However, the CVE description labels this 'critical' - a classification mismatch with the actual CVSS rating. The EPSS score of 0.04% (14th percentile) indicates very low probability of exploitation in the wild despite public POC availability, suggesting the vulnerability requires either very specific access conditions or affects only low-value targets. The CVSS scope is 'local' (SC:N, SI:N, SA:N), meaning successful SQL injection does not propagate to impact other system resources - only the immediate patient record database. Attack complexity is low (AC:L) and no special timing or conditions required (AT:N), making exploitation straightforward once authenticated. The presence of public exploit code (E:P) does lower the bar slightly, but EPSS data indicates limited real-world traction. SSVC perspective: exploitation is possible (evidence of POC), technical impact is low (Confidentiality:Low, Integrity:Low, Availability:Low), and impact is constrained to the immediate application. For a medical system, even 'Low' confidentiality/integrity impact may warrant patching due to regulatory (HIPAA) and patient safety considerations, despite low raw CVSS score. |
| Exploit ScenarioDerived | An authenticated medical staff member with legitimate access to the patient record system crafts a request to /xray_form.php with a malicious SQL payload embedded in the itr_no parameter (e.g., itr_no=1' UNION SELECT username, password FROM users--). The application executes the injected SQL, returning sensitive data such as patient records, user credentials, or other database contents to the attacker. Public POC code available on GitHub simplifies this attack, requiring only knowledge of the endpoint URL and valid authentication credentials. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
SQL injection in Patient Record Management System 1.0 via the itr_no parameter in /xray_form.php allows authenticated remote attackers to execute arbitrary SQL queries with low confidentiality, integrity, and availability impact. The vulnerability requires valid user credentials (PR:L) but can be exploited remotely over the network. Public exploit code is available, though real-world exploitation risk remains low given the EPSS score of 0.04% and limited scope of impact (local scope only, no confidentiality/integrity/availability impact to the system itself).
RemediationAI
No vendor-released patch identified at time of analysis. Immediate remediation steps: (1) Upgrade or migrate away from Patient Record Management System 1.0 if a patched version is available from the vendor (contact code-projects.org or Fabian Ros); (2) If upgrade is not feasible, implement input validation and output encoding on the itr_no parameter by converting all SQL queries to use prepared statements with parameterized queries (e.g., using PDO with bound parameters in PHP); (3) Apply WAF rules to block requests containing SQL keywords or special characters in the itr_no parameter; (4) Restrict access to /xray_form.php to authenticated users only and further limit to users with radiology/imaging roles; (5) Run automated SQL injection scanning (e.g., sqlmap) against the application in your test environment to identify any similar injection points in other forms. Monitor application logs for suspicious SQL error messages or abnormal query patterns indicating exploitation attempts.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in a PHP-based patient record management application developed by Fabian Ros. The /xray_form.php endpoint accepts user input via the itr_no parameter without proper sanitization or parameterized query usage, allowing SQL injection (CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component). The PHP application likely constructs SQL queries by direct string concatenation rather than using prepared statements, a common pattern in legacy medical software. The attack vector is network-based (AV:N), meaning the vulnerable endpoint is accessible over HTTP/HTTPS without special network positioning required.
Know when Patient Record Management System 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:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
A vulnerability was found in code-projects Patient Record Management System 1.0. It has been declared as critical. This vulnerability affects unknown code of the file /xray_form.php. The manipulation of the argument itr_no leads to sql injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.
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.
Affected Products (CPE)CVE.org
A vulnerability was found in code-projects Patient Record Management System 1.0 and classified as critical. Rated medium
A vulnerability was found in code-projects Patient Record Management System 1.0 and classified as critical. Affected by
A vulnerability classified as critical was found in code-projects Patient Record Management System 1.0. Affected by this
SQL injection in CodeAstro Patient Record Management System 1.0 allows unauthenticated remote attackers to manipulate th
A vulnerability was found in code-projects Patient Record Management System 1.0. Rated medium severity (CVSS 5.3), this
A vulnerability was found in code-projects Patient Record Management System 1.0. Rated medium severity (CVSS 5.3), this
A vulnerability classified as critical has been found in code-projects Patient Record Management System 1.0. Rated mediu
A vulnerability was found in SourceCodester Patient Record Management System 1.0. Rated medium severity (CVSS 5.3), this
A vulnerability classified as critical has been found in code-projects Patient Record Management System 1.0. Rated mediu
A vulnerability classified as critical was found in code-projects Patient Record Management System 1.0. Rated medium sev
A vulnerability classified as critical has been found in code-projects Patient Record Management System 1.0. Rated mediu
A vulnerability was found in code-projects Patient Record Management System 1.0. Rated medium severity (CVSS 5.3), this
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB