The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-0360

CVE-2024-0360: Hospital Management System SQL Vulnerability

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

Updated: May 15, 2026

CVE-2024-0360 Overview

CVE-2024-0360 is a SQL injection vulnerability in PHPGurukul Hospital Management System 1.0. The flaw resides in admin/edit-doctor-specialization.php, where the doctorspecilization parameter is passed directly into a database query without sanitization. Remote attackers can manipulate this argument to inject arbitrary SQL statements and compromise the backend database. The issue is tracked as VDB-250127 and is classified under [CWE-89]. Exploitation details have been publicly disclosed, increasing the likelihood of opportunistic attacks against exposed deployments.

Critical Impact

Unauthenticated remote attackers can extract, modify, or destroy sensitive patient and administrative data through SQL injection against the admin interface.

Affected Products

  • PHPGurukul Hospital Management System 1.0
  • Component: admin/edit-doctor-specialization.php
  • Parameter: doctorspecilization

Discovery Timeline

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

Technical Details for CVE-2024-0360

Vulnerability Analysis

The vulnerability is a classic SQL injection flaw [CWE-89] in the administrative panel of PHPGurukul Hospital Management System 1.0. The script admin/edit-doctor-specialization.php accepts the doctorspecilization parameter and concatenates it into an SQL UPDATE or SELECT statement without parameterization or input validation.

Because the application performs no escaping or prepared statement binding, attackers can break out of the intended query context. They can then append arbitrary SQL clauses such as UNION SELECT, time-based blind payloads, or stacked statements depending on the underlying MySQL configuration.

Successful exploitation allows full read and write access to the hospital database. This includes patient records, doctor credentials, appointment data, and administrative authentication tables.

Root Cause

The root cause is the unsafe handling of user-supplied input in a database query. The doctorspecilization value is taken directly from the HTTP request and embedded into an SQL string. PHPGurukul's codebase relies on string concatenation rather than mysqli_prepare() or PDO parameterized queries, which is a recurring pattern across PHPGurukul applications.

Attack Vector

The attack vector is network-based and requires no user interaction. An attacker submits a crafted HTTP request to the admin/edit-doctor-specialization.php endpoint with a malicious doctorspecilization value. While the endpoint resides in the admin path, the public proof-of-concept indicates the injection point is reachable in vulnerable installations.

The vulnerability mechanism is documented in the public GitHub SQL Injection Document and the VulDB entry #250127.

Detection Methods for CVE-2024-0360

Indicators of Compromise

  • HTTP POST or GET requests to /admin/edit-doctor-specialization.php containing SQL metacharacters such as ', --, UNION, SLEEP(, or OR 1=1 in the doctorspecilization parameter.
  • Web server access logs showing repeated requests to the endpoint from a single source within a short timeframe.
  • Unexpected MySQL errors in PHP error logs referencing edit-doctor-specialization.php.
  • Anomalous database queries containing INFORMATION_SCHEMA enumeration against the hospital management database.

Detection Strategies

  • Deploy a Web Application Firewall (WAF) rule that inspects the doctorspecilization parameter for SQL injection signatures.
  • Enable MySQL general query logging temporarily to identify malformed or chained queries originating from the affected script.
  • Review authentication and session logs for unauthorized admin sessions preceding suspicious database activity.

Monitoring Recommendations

  • Forward web server and database logs to a centralized log analytics platform for correlation and alerting on injection patterns.
  • Alert on outbound data transfers from the database host that exceed normal baselines, which may indicate bulk data exfiltration.
  • Monitor for new or modified rows in administrative user tables that were not initiated by legitimate workflows.

How to Mitigate CVE-2024-0360

Immediate Actions Required

  • Restrict network access to the /admin/ directory using IP allowlists or VPN-only access until a fix is applied.
  • Audit the database for unauthorized modifications, new administrator accounts, and altered doctor or patient records.
  • Rotate all administrative credentials and database passwords used by the application.
  • Review web server logs from January 2024 onward for exploitation attempts against edit-doctor-specialization.php.

Patch Information

No vendor patch is referenced in the NVD entry for CVE-2024-0360. Operators of PHPGurukul Hospital Management System 1.0 should monitor the vendor's distribution channels for an updated release and consider migrating away from the affected version if no fix is provided. In the interim, apply source-code remediation by replacing string-concatenated SQL in admin/edit-doctor-specialization.php with parameterized queries using mysqli_prepare() or PDO.

Workarounds

  • Implement server-side input validation that rejects non-alphanumeric characters in the doctorspecilization field before it reaches the database layer.
  • Deploy a WAF with OWASP Core Rule Set enabled to block common SQL injection payloads targeting the affected endpoint.
  • Apply the principle of least privilege to the MySQL account used by the application, removing DROP, ALTER, and FILE privileges where not required.
  • Disable or remove the edit-doctor-specialization.php script if the doctor specialization edit functionality is not actively used.
bash
# Example: harden MySQL application user privileges
REVOKE ALL PRIVILEGES ON hospital_db.* FROM 'hms_app'@'localhost';
GRANT SELECT, INSERT, UPDATE, DELETE ON hospital_db.* TO 'hms_app'@'localhost';
FLUSH PRIVILEGES;

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.06%

  • 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 SQL Injection Document

  • VulDB CTI #250127

  • VulDB #250127
  • 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 Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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