Skip to main content

Hospital Management System CVE-2025-65340

| EUVDEUVD-2025-210530 CRITICAL
SQL Injection (CWE-89)
2026-07-29 mitre GHSA-q4xr-8q49-vvhj
9.8
CVSS 3.1 · Vendor: mitre
Share

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.3 HIGH

Network-reachable, automatable SQLi (AV:N/AC:L); PR:L rather than PR:N because this admin report endpoint typically requires a login; full DB read/write yields C:H/I:H with limited availability impact (A:L).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/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

4
Analysis Generated
Jul 30, 2026 - 21:31 vuln.today
CVSS changed
Jul 30, 2026 - 19:22 NVD
9.8 (CRITICAL)
CVE Published
Jul 29, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 29, 2026 - 00:00 cve.org
CRITICAL 9.8

DescriptionCVE.org

kishan0725 Hospital Management System 4.0 is vulnerable to SQL Injection in /betweendates-detailsreports.php.

AnalysisAI

SQL injection in kishan0725's open-source PHP Hospital Management System 4.0 lets attackers manipulate the backend database via the 'fromdate' parameter of /betweendates-detailsreports.php. Because input is concatenated directly into a SQL query, an attacker can read, alter, or destroy patient and hospital records; publicly available exploit code exists (sqlmap-confirmed injection techniques documented in the TaintRadar research repository). EPSS is low (0.14%, 4th percentile) and there is no CISA KEV listing, so this is a proof-of-concept-stage issue rather than confirmed active exploitation.

Technical ContextAI

The affected component is a PHP web application (Hospital Management System) that generates date-range detail reports. The vulnerability is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), the classic root cause where user-supplied input - here the 'fromdate' request parameter - is interpolated into a SQL statement without parameterization or escaping, allowing the query grammar itself to be altered. The backend is a MySQL/MariaDB database typical of this PHP/LAMP-stack project. The published research shows the flaw is reachable and exploitable through automated tooling (sqlmap), which fingerprints and dumps the database. CPE data is uninformative (cpe:2.3:a:n/a:n/a:*), so exact affected-package identification relies on the vendor project name and description rather than an authoritative NVD CPE.

RemediationAI

No vendor-released patch identified at time of analysis. The definitive fix is to rewrite the vulnerable query in /betweendates-detailsreports.php to use parameterized queries / prepared statements (PDO or mysqli bound parameters) for the 'fromdate' (and any adjacent 'todate') inputs, and to add server-side validation enforcing a strict date format before the value reaches SQL. As interim compensating controls: restrict access to the reporting endpoint to authenticated administrators and place it behind network access controls or a VPN so it is not internet-reachable (trade-off: none for legitimate internal use); deploy a WAF rule to block SQL metacharacters in the fromdate parameter (trade-off: pattern-based WAF rules can be bypassed and may false-positive on legitimate date input); and grant the application's database account least privilege (read-only where possible, no DROP/FILE) to limit blast radius (trade-off: may break report features that write data). Track the project's GitHub repository for an upstream fix and reference the writeup at the TaintRadar URL above.

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

Share

CVE-2025-65340 vulnerability details – vuln.today

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