CVE-2026-13531
Received Received - Intake

SQL Injection in Hospital Management System 1.0

Vulnerability report for CVE-2026-13531, 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 is an unknown function of the file /department.php. The manipulation of the argument editid results in sql injection. The attack may be performed from remote. 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 version 1.0, specifically in the '/department.php' file within the 'editid' parameter.

The 'editid' parameter does not properly sanitize user input before using it in SQL queries, allowing attackers with valid credentials to inject malicious SQL code.

This is an error-based SQL injection vulnerability, meaning attackers can manipulate database queries by crafting specific payloads.

Exploitation requires prior authentication and can be performed remotely.

Impact Analysis

Exploiting this vulnerability can allow attackers to gain unauthorized access to the database, leak sensitive data, tamper with or alter data, take full control of the system, or disrupt services.

Such impacts pose serious threats to system security and business continuity.

Detection Guidance

This SQL injection vulnerability in the 'editid' parameter of /department.php can be detected by testing the parameter for SQL injection flaws using tools like sqlmap.

Since exploitation requires prior authentication, detection should be performed with valid credentials.

  • Use sqlmap to test the 'editid' parameter: sqlmap -u "http://target/department.php?editid=1" --cookie="SESSION=your_session_cookie" --risk=3 --level=5
  • Manually test by injecting SQL payloads into the 'editid' parameter and observe for SQL errors or unexpected behavior.
Mitigation Strategies

Immediate mitigation steps include:

  • Implement prepared statements (parameterized queries) to prevent SQL injection.
  • Validate and sanitize all user inputs, especially the 'editid' parameter.
  • Minimize database user permissions to limit the impact of a potential exploit.
  • Conduct regular security audits and code reviews to identify and fix vulnerabilities.
  • Restrict access to the vulnerable functionality to trusted users only until a patch is applied.

Chat Assistant

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

EPSS Chart