Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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).
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
4DescriptionCVE.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.
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
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2025-210530
GHSA-q4xr-8q49-vvhj