Skip to main content

Hospital Management System EUVDEUVD-2025-210529

| CVE-2025-69942 CRITICAL
SQL Injection (CWE-89)
2026-07-29 mitre GHSA-pwj4-mv8c-c4xg
9.8
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach /hms/doctor/view-patient.php endpoint
  2. Delivery
    Inject SQL into viewid parameter
  3. Exploit
    Backend MySQL executes crafted query
  4. Execution
    Extract or modify patient database
  5. Impact
    Full data confidentiality/integrity/availability compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires reaching the /hms/doctor/view-patient.php endpoint of a deployed Hospital Management System 4.0 instance and supplying a crafted value in the 'viewid' GET parameter; no crafted client software or user interaction is needed beyond issuing an HTTP request. The CVSS vector asserts PR:N (no privileges), implying unauthenticated exploitation against default configurations, but the endpoint's location within the /hms/doctor/ portal suggests a doctor login may gate access - the practical limiting factor is therefore whether authentication is enforced on this page, which should be verified against the actual deployment. Additional real-world limits are the software's narrow deployment footprint and whether the instance is exposed to the network at all.

Impact

The raw signals are mixed. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) scores 9.8 and asserts unauthenticated network exploitation with high impact on all three security properties, and SSVC reinforces this with Automatable=yes and Technical Impact=total. However, the very low EPSS score (0.14%, 4th percentile) indicates little observed or predicted real-world exploitation activity, consistent with a niche, self-hosted educational/hobby application rather than a mass-exploited enterprise target. A key inconsistency to verify: the vulnerable endpoint lives under /hms/doctor/, which typically sits behind a doctor login, yet the CVSS vector claims PR:N (unauthenticated) - this may overstate exposure if the page in fact requires an authenticated doctor session; verify authentication requirements against the application's access control before treating this as fully unauthenticated. Overall this is a genuinely severe injection flaw for anyone actually running this software, but its aggregate internet-wide risk is limited by low deployment footprint and the possibility that authentication gates the endpoint.

Exploit ScenarioDerived

An attacker with reachability to the hospital portal requests /hms/doctor/view-patient.php?viewid=1 and appends a SQL payload (e.g., a UNION SELECT or time-based blind expression) to the viewid parameter, causing the backend MySQL server to return or modify arbitrary records. Given low attack complexity and SSVC's automatable rating, the attacker can script bulk extraction of patient records, credentials, and other tables. Publicly available exploit detail from the TaintRadar research write-up lowers the effort required.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 30, 2026

SQL injection in kishan0725 Hospital Management System 4.0 lets attackers manipulate the 'viewid' parameter of /hms/doctor/view-patient.php to inject arbitrary SQL, exposing and altering the backend patient database. The flaw carries a CVSS 9.8 and CWE-89 classification, and publicly available exploit code exists via a TaintRadar research write-up, though it is not listed in CISA KEV and its EPSS score is only 0.14% (4th percentile). CISA's SSVC framework rates it automatable with total technical impact, meaning successful exploitation can fully compromise database confidentiality, integrity, and availability.

RemediationAI

No vendor-released patch identified at time of analysis; this is an open-source GitHub project with no fixed version cited in the available data, so operators must self-remediate. The primary fix is to rewrite the query in view-patient.php to use parameterized/prepared statements (PDO or mysqli bound parameters) instead of concatenating the 'viewid' value, and to cast/validate 'viewid' as an integer before use. As interim compensating controls, restrict access to the /hms/doctor/ directory to authenticated staff and known IP ranges (trade-off: breaks remote access for legitimate off-site users), and deploy a WAF rule to block SQL metacharacters on the viewid parameter (trade-off: signature-based filtering can be bypassed and may produce false positives). Monitor the upstream project at github.com/kishan0725 for a patched release and consult the NVD advisory at https://nvd.nist.gov/vuln/detail/CVE-2025-69942 for updates.

Affected VersionsENISA

n/a n/a

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 affected software is kishan0725's Hospital Management System, an open-source PHP/MySQL web application distributed via GitHub for managing patients, doctors, and appointments. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): the 'viewid' GET parameter passed to /hms/doctor/view-patient.php is concatenated into a SQL query without parameterization or sanitization, allowing an attacker to break out of the intended query context. Because the application uses classic PHP-with-MySQL query construction, a single injectable integer parameter grants UNION-based or boolean/time-based blind extraction of any table the database user can reach. The CPE data is uninformative here (recorded as cpe:2.3:a:n/a:n/a), so the affected component is identified from the description and reference material rather than a structured NVD product entry.

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

Vendor (mitre) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Network-reachable injectable parameter with low complexity, but the doctor-portal location implies an authenticated session (PR:L); SQLi yields high C/I/A within a single scope.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
CVSS changed
Jul 30, 2026 - 19:22 NVD
9.8 (CRITICAL)
CVE Published
Jul 29, 2026 - 00:00 cve.org
CRITICAL 9.8
CVE Published
Jul 29, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

kishan0725 Hospital Management System 4.0 is vulnerable to SQL Injection in /hms/doctor/view-patient.php?viewid=1.

Executive ViewAI

Why It Matters

A critical SQL injection vulnerability in kishan0725 Hospital Management System 4.0 enables attackers to manipulate the patient database through the view-patient function, threatening the confidentiality and integrity of sensitive medical records. Healthcare organizations using this product face immediate risk of unauthorized patient data access and require urgent mitigation deployment.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Implement Web Application Firewall (WAF) rules specifically targeting SQL injection in the vulnerable 'viewid' parameter; restrict database account privileges to minimum necessary permissions and read-only access where possible; deploy network segmentation to limit database connectivity from the application server; enable comprehensive SQL injection detection and logging; conduct weekly access audits. If source code access is available, remediate through input validation and parameterized queries to prevent exploitation.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Rare
open-source hobby/educational PHP project, negligible enterprise footprint
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy