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-0362

CVE-2024-0362: Hospital Management System SQLi Vulnerability

CVE-2024-0362 is a critical SQL injection vulnerability in PHPGurukul Hospital Management System 1.0 affecting the admin password change functionality. This article covers technical details, exploitation risks, and mitigation.

Published: April 15, 2026

CVE-2024-0362 Overview

A critical SQL Injection vulnerability has been identified in PHPGurukul Hospital Management System version 1.0. This vulnerability affects the admin/change-password.php file, where improper sanitization of the cpass parameter allows attackers to inject malicious SQL queries. The exploit has been publicly disclosed, significantly increasing the risk of exploitation against vulnerable healthcare management systems.

Critical Impact

Unauthenticated attackers can exploit this SQL Injection vulnerability to extract sensitive patient data, modify database records, or potentially gain complete control over the underlying database server hosting healthcare information.

Affected Products

  • PHPGurukul Hospital Management System 1.0

Discovery Timeline

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

Technical Details for CVE-2024-0362

Vulnerability Analysis

This vulnerability is classified as CWE-89 (SQL Injection), a well-documented class of injection flaws that occurs when user-supplied input is incorporated into SQL queries without proper validation or parameterization. The vulnerable endpoint in the Hospital Management System accepts user input through the cpass parameter in the password change functionality and directly incorporates it into database queries.

The attack can be executed remotely over the network without requiring any prior authentication or user interaction. Successful exploitation could lead to complete compromise of the confidentiality, integrity, and availability of the database backend, which in a hospital management context may contain highly sensitive protected health information (PHI), patient records, appointment schedules, and administrative credentials.

Root Cause

The root cause of this vulnerability lies in the lack of input validation and the use of unsanitized user input in SQL query construction within the admin/change-password.php file. The cpass parameter is directly concatenated into SQL statements without using prepared statements, parameterized queries, or proper input sanitization, allowing attackers to manipulate the query logic.

Attack Vector

The attack vector is network-based, targeting the web application's password change functionality in the administrative panel. An attacker can craft malicious HTTP requests containing SQL injection payloads in the cpass parameter. The vulnerability requires no authentication and no user interaction, making it trivially exploitable for attackers with network access to the application.

The attacker sends a specially crafted request to the admin/change-password.php endpoint with SQL injection payloads embedded in the cpass parameter. Common techniques include UNION-based injection to extract data from other tables, time-based blind injection for data exfiltration when results aren't displayed, and boolean-based techniques to infer database contents. For detailed technical documentation, refer to the GitHub Project Documentation.

Detection Methods for CVE-2024-0362

Indicators of Compromise

  • Unusual or malformed requests to admin/change-password.php containing SQL syntax such as single quotes, UNION statements, or sleep commands
  • Database error messages in web server logs indicating syntax errors from user-supplied input
  • Unexpected database queries or access patterns, particularly involving system tables or data extraction operations
  • Authentication anomalies or unauthorized password changes in the hospital management system

Detection Strategies

  • Deploy Web Application Firewall (WAF) rules to detect and block SQL injection patterns targeting the cpass parameter
  • Implement application-level logging to monitor all requests to the admin/change-password.php endpoint
  • Configure database activity monitoring to alert on anomalous query patterns or unauthorized data access
  • Enable detailed error logging (but do not expose errors to users) to capture exploitation attempts

Monitoring Recommendations

  • Monitor web server access logs for requests to admin/change-password.php with suspicious query strings or POST data
  • Set up alerts for database errors related to malformed SQL syntax originating from web application connections
  • Track authentication events and password change activities for anomalous patterns
  • Implement network-level monitoring for unusual outbound data transfers that could indicate data exfiltration

How to Mitigate CVE-2024-0362

Immediate Actions Required

  • Take the affected Hospital Management System offline or restrict network access until patching is complete
  • Review database logs and web server logs for evidence of prior exploitation attempts
  • Audit database contents for unauthorized modifications or signs of data exfiltration
  • Implement a Web Application Firewall rule to block requests containing SQL injection patterns to the affected endpoint

Patch Information

At the time of publication, no official vendor patch has been identified for this vulnerability. Organizations using PHPGurukul Hospital Management System 1.0 should contact the vendor for remediation guidance or consider implementing the code-level mitigations described below. Technical details and additional resources are available through VulDB #250129.

Workarounds

  • Implement input validation on the cpass parameter to allow only expected character patterns
  • Modify the vulnerable code to use prepared statements or parameterized queries instead of string concatenation
  • Deploy a Web Application Firewall (WAF) in front of the application with SQL injection detection rules enabled
  • Restrict network access to the administrative panel to trusted IP addresses only
  • Consider disabling the password change functionality until a proper fix can be implemented
bash
# Example WAF rule to block SQL injection attempts (ModSecurity format)
SecRule ARGS:cpass "@detectSQLi" \
    "id:100001,\
    phase:2,\
    deny,\
    status:403,\
    msg:'SQL Injection attempt detected in cpass parameter',\
    logdata:'%{MATCHED_VAR}',\
    severity:'CRITICAL'"

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 CTIID #250129

  • VulDB #250129
  • 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-0364: 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