CVE-2026-13578
Received Received - Intake

SQL Injection in Hospital Management System 1.0

Vulnerability report for CVE-2026-13578, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-29

Last updated on: 2026-06-29

Assigner: VulDB

Description

A security flaw has been discovered in itsourcecode Hospital Management System 1.0. Affected by this vulnerability is an unknown functionality of the file /patientdetail.php. Performing a manipulation of the argument editid results in sql injection. The attack may be initiated remotely. The exploit has been released to the public and may be used for attacks.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-29
Last Modified
2026-06-29
Generated
2026-06-29
AI Q&A
2026-06-29
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
itsourcecode hospital_management_system 1.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a SQL Injection flaw found in the Hospital Management System V1.0 by itsourcecode, specifically in the '/patientdetail.php' file. It occurs because the 'editid' parameter does not properly sanitize user input before using it in SQL queries.

Attackers who have valid credentials can exploit this vulnerability by injecting malicious SQL code through the 'editid' parameter. This allows unauthorized access to the database, potentially leading to data leakage, tampering, system control, and service disruption.

The vulnerability has been confirmed with proof-of-concept payloads demonstrating both error-based and time-based blind SQL injection techniques.

Impact Analysis

Exploitation of this vulnerability can lead to unauthorized database access, which may result in data leakage of sensitive patient information.

Attackers may tamper with data, gain control over the system, and cause potential service disruptions, impacting the availability and integrity of the hospital management system.

Detection Guidance

This SQL Injection vulnerability in the 'editid' parameter of /patientdetail.php can be detected by testing for SQL injection flaws using both error-based and time-based blind SQL injection techniques.

Detection requires prior authentication since exploitation needs valid credentials.

  • Use SQL injection payloads on the 'editid' parameter after logging in, such as appending ' OR 1=1-- to the parameter to check for unauthorized data access.
  • Use time-based blind SQL injection commands, for example, injecting payloads like 'editid=1 AND IF(SUBSTRING((SELECT database()),1,1)='a',SLEEP(5),0)--' to observe response delays.
  • Employ automated tools like sqlmap with authentication cookies to test the 'editid' parameter for SQL injection.
Mitigation Strategies

Immediate mitigation steps include:

  • Implement prepared statements with parameter binding to safely handle the 'editid' parameter and prevent SQL injection.
  • Apply strict input validation on the 'editid' parameter to ensure only expected values are accepted.
  • Minimize database user permissions to limit the impact of a potential SQL injection attack.
  • Conduct regular security audits and code reviews focusing on input handling and database queries.
Compliance Impact

The SQL injection vulnerability in the Hospital Management System allows attackers with valid credentials to access, leak, and tamper with sensitive patient data stored in the database.

Such unauthorized access and potential data leakage can lead to non-compliance with data protection regulations like GDPR and HIPAA, which mandate strict controls over personal and health information confidentiality, integrity, and availability.

Failure to protect patient data adequately may result in legal penalties, loss of trust, and harm to affected individuals.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-13578. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart