Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-0364

CVE-2024-0364: Hospital Management System SQLi Vulnerability

CVE-2024-0364 is a critical SQL injection vulnerability in PHPGurukul Hospital Management System 1.0 affecting admin/query-details.php. This article covers the technical details, affected versions, security impact, and mitigation.

Published: April 8, 2026

CVE-2024-0364 Overview

A critical SQL Injection vulnerability has been identified in PHPGurukul Hospital Management System version 1.0. The vulnerability exists in the administrative panel's query details functionality, specifically in the file admin/query-details.php. The adminremark parameter fails to properly sanitize user input before incorporating it into SQL queries, allowing attackers to inject malicious SQL commands.

Critical Impact

This SQL Injection vulnerability allows unauthenticated remote attackers to execute arbitrary SQL commands against the backend database, potentially leading to complete database compromise, unauthorized data access, data manipulation, and system takeover in healthcare environments.

Affected Products

  • PHPGurukul Hospital Management System 1.0
  • Systems utilizing admin/query-details.php functionality
  • Healthcare institutions running vulnerable PHPGurukul installations

Discovery Timeline

  • 2024-01-10 - CVE-2024-0364 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-0364

Vulnerability Analysis

This vulnerability is classified as CWE-89 (SQL Injection), a well-documented injection flaw that occurs when user-controlled input is concatenated directly into SQL queries without proper sanitization or parameterization. The vulnerable endpoint admin/query-details.php accepts the adminremark parameter and processes it in a manner that allows attackers to break out of the intended SQL query context and inject their own malicious SQL statements.

Hospital Management Systems handle extremely sensitive data including patient records, medical histories, billing information, and personally identifiable information (PII). Successful exploitation could result in unauthorized access to protected health information (PHI), violating regulatory requirements such as HIPAA.

The exploit has been publicly disclosed, increasing the risk profile as threat actors can readily access exploitation techniques. Organizations running this software should treat remediation as an urgent priority.

Root Cause

The root cause of this vulnerability is the direct concatenation of the adminremark parameter value into SQL query strings without implementing proper input validation, output encoding, or parameterized queries (prepared statements). The PHP application fails to escape special characters that have syntactic meaning in SQL, allowing attackers to terminate the intended query and append arbitrary SQL commands.

This represents a fundamental secure coding failure where user input is trusted implicitly rather than being treated as potentially malicious data that requires sanitization before database interaction.

Attack Vector

The attack can be executed remotely over the network without requiring authentication. An attacker can craft a malicious HTTP request to the admin/query-details.php endpoint with a specially crafted adminremark parameter containing SQL injection payloads.

Typical attack scenarios include:

  • Data Exfiltration: Using UNION-based injection to extract sensitive patient records, credentials, and system configuration
  • Authentication Bypass: Manipulating queries to bypass login mechanisms or elevate privileges
  • Data Manipulation: Inserting, updating, or deleting records in the database
  • Database Enumeration: Discovering database structure, table names, and column information
  • Potential RCE: In certain database configurations, SQL injection can be leveraged for remote code execution through features like INTO OUTFILE or xp_cmdshell

The vulnerability requires no user interaction and can be exploited with low attack complexity, making it an attractive target for automated scanning tools and opportunistic attackers.

Detection Methods for CVE-2024-0364

Indicators of Compromise

  • Suspicious HTTP requests to admin/query-details.php containing SQL syntax characters such as single quotes, double dashes, UNION keywords, or comment sequences
  • Database error messages appearing in application logs or responses indicating malformed SQL queries
  • Unexpected database query patterns including large data exports, enumeration queries, or privilege escalation attempts
  • Anomalous administrative actions or data modifications without corresponding legitimate user activity

Detection Strategies

  • Deploy Web Application Firewall (WAF) rules to detect and block common SQL injection patterns targeting the adminremark parameter
  • Implement application-layer logging to capture all requests to admin/query-details.php with full parameter values
  • Configure database activity monitoring to alert on unusual query patterns, failed authentication attempts, or bulk data access
  • Utilize intrusion detection systems (IDS) with signatures for SQL injection attack patterns

Monitoring Recommendations

  • Enable verbose logging on the web server and database to capture request parameters and query execution
  • Monitor for error responses from the application that may indicate exploitation attempts
  • Set up alerts for requests containing SQL injection indicators such as ' OR, UNION SELECT, --, or encoded variants
  • Review access logs regularly for requests to administrative endpoints from unexpected IP addresses or unusual volumes of traffic

How to Mitigate CVE-2024-0364

Immediate Actions Required

  • Remove or restrict network access to the PHPGurukul Hospital Management System until a patch is applied or mitigations are in place
  • Implement strict input validation on the adminremark parameter to allow only expected characters
  • Deploy WAF rules to block SQL injection attempts at the network perimeter
  • Conduct a database audit to identify any signs of compromise or unauthorized data access
  • Review and rotate database credentials as a precautionary measure

Patch Information

As of the last update, no official vendor patch has been released for this vulnerability. Organizations should monitor the VulDB advisory and the GitHub documentation for updates regarding remediation guidance from the vendor.

In the absence of an official patch, organizations should implement the code-level fixes described below or consider migrating to a more secure hospital management solution.

Workarounds

  • Modify the admin/query-details.php file to use parameterized queries or prepared statements for all database interactions involving the adminremark parameter
  • Implement input validation using whitelisting to reject any input containing SQL metacharacters
  • Restrict access to administrative endpoints using IP-based access controls or VPN requirements
  • Deploy a reverse proxy with SQL injection filtering capabilities in front of the application
  • Consider taking the application offline if it processes sensitive healthcare data until proper remediation can be implemented
bash
# Configuration example - Apache .htaccess to restrict admin access by IP
<Directory "/var/www/html/admin">
    Order Deny,Allow
    Deny from all
    Allow from 192.168.1.0/24
    Allow from 10.0.0.0/8
</Directory>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechPhpgurukul Hospital Management System

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-89
  • Technical References
  • GitHub Project Documentation

  • VulDB CTI ID #250131

  • VulDB #250131
  • Related CVEs
  • CVE-2026-2134: PHPGurukul HMS SQL Injection Vulnerability

  • CVE-2026-2179: Hospital Management System SQLi Vulnerability

  • CVE-2025-7176: PHPGurukul Hospital Management SQLi Flaw

  • CVE-2024-0362: Hospital Management System SQLi Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English