itsourcecode Hospital Management System SQL Injection Vulnerability in prescriptionrecord.php

Vulnerability

A SQL injection vulnerability has been identified in the itsourcecode Hospital Management System version 1.0. The issue resides in the prescriptionrecord.php file, where the delid parameter is not properly sanitized, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, potentially leading to unauthorized database access, data manipulation, and disruption of service.

Impact

Exploitation of this vulnerability allows for SQL injection, enabling attackers to manipulate database queries. This could result in unauthorized data access, data leakage, data tampering, and in some cases, executing commands on the server or causing a denial-of-service.

Reproduction

To reproduce this vulnerability, log into the application and navigate to the prescriptionrecord.php file. Send a POST request to this file with an injected SQL payload in the delid parameter. The injection can be crafted to, for example, extract data from the database or manipulate database entries.

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 enhance overall security.

Added: Jul 18, 2026, 7:24 PM
Updated: Jul 18, 2026, 7:24 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
6.6
remediation
0.0
relevance
10.0
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.