itsourcecode Hospital Management System SQL Injection Vulnerability in addpatient.php

Vulnerability

A SQL injection vulnerability has been identified in the itsourcecode Hospital Management System version 1.0. The issue arises in the addpatient.php file, where the admissiontme parameter is not properly sanitized, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, but requires authentication.

Impact

Exploitation of this vulnerability allows for unauthorized database access, potential leakage or manipulation of sensitive data, and could disrupt service continuity.

Reproduction

To reproduce this vulnerability, log into the application and navigate to the addpatient.php page. Once there, send a POST request including the admissiontme parameter with a crafted SQL payload. The injection can be verified by observing the application's response, which should indicate successful exploitation, such as returning database information or causing a delay if using a time-based blind injection technique.

Remediation

To address this vulnerability, it is recommended to use prepared statements and parameter binding to prevent SQL injection. Additionally, input validation and filtering should be implemented to ensure user input conforms to expected formats. Minimizing database user permissions and conducting regular security audits can also help enhance the application's overall security.

Added: Jun 8, 2026, 1:24 PM
Updated: Jun 8, 2026, 1:24 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
6.6
remediation
0.0
relevance
9.3
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.