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

CVE-2024-0361: PHPGurukul Hospital Management SQLi Flaw

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

Published: March 31, 2026

CVE-2024-0361 Overview

A critical SQL injection vulnerability has been discovered in PHPGurukul Hospital Management System version 1.0. The vulnerability exists in the admin/contact.php file, where the mobnum parameter is not properly sanitized before being used in SQL queries. This allows unauthenticated attackers to inject malicious SQL statements, potentially leading to complete database compromise, unauthorized data access, and system manipulation.

Critical Impact

This SQL injection vulnerability allows unauthenticated remote attackers to execute arbitrary SQL commands against the database, potentially exposing sensitive patient health records, administrative credentials, and enabling full database takeover in healthcare environments.

Affected Products

  • PHPGurukul Hospital Management System 1.0
  • Applications using the vulnerable admin/contact.php component
  • Deployments with exposed admin interfaces accessible via network

Discovery Timeline

  • January 10, 2024 - CVE-2024-0361 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2024-0361

Vulnerability Analysis

The vulnerability resides in the admin/contact.php file of PHPGurukul Hospital Management System 1.0. The application fails to properly validate and sanitize user input passed through the mobnum (mobile number) parameter before incorporating it into SQL queries. This classic SQL injection flaw enables attackers to manipulate database queries by injecting malicious SQL code through the vulnerable parameter.

In healthcare management systems, this type of vulnerability is particularly severe as it can expose Protected Health Information (PHI), patient medical records, personal identification details, and administrative credentials. The network-accessible attack vector combined with no authentication requirements makes this vulnerability trivially exploitable by remote attackers.

Root Cause

The root cause is improper input validation and the lack of parameterized queries or prepared statements in the admin/contact.php file. The mobnum parameter is directly concatenated into SQL statements without proper sanitization, escaping, or the use of database abstraction layers that prevent SQL injection. This is a violation of secure coding practices outlined in CWE-89 (Improper Neutralization of Special Elements used in an SQL Command).

Attack Vector

The vulnerability is exploitable over the network without requiring any authentication or user interaction. An attacker can craft malicious HTTP requests containing SQL injection payloads in the mobnum parameter. The injection point in admin/contact.php allows attackers to:

  1. Extract sensitive data from the database using UNION-based or blind SQL injection techniques
  2. Modify or delete database records
  3. Potentially escalate to remote code execution if database features like INTO OUTFILE or xp_cmdshell are available
  4. Bypass authentication mechanisms by manipulating login queries

The vulnerability has been publicly disclosed, and technical details are available through the GitHub Project Document and VulDB entry #250128.

Detection Methods for CVE-2024-0361

Indicators of Compromise

  • Unusual SQL error messages in web server logs related to admin/contact.php
  • HTTP requests to admin/contact.php containing SQL syntax characters in the mobnum parameter (e.g., single quotes, UNION SELECT, OR 1=1)
  • Database query logs showing anomalous queries with injected SQL statements
  • Unexpected database access patterns or bulk data extraction activities

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect SQL injection patterns in requests to the /admin/contact.php endpoint
  • Monitor HTTP access logs for requests containing SQL keywords such as SELECT, UNION, INSERT, DELETE, DROP, or comment sequences (--, /*)
  • Configure database audit logging to track unusual query patterns originating from the web application
  • Deploy SentinelOne Singularity XDR to detect post-exploitation activities and lateral movement following database compromise

Monitoring Recommendations

  • Enable detailed logging for all requests to the Hospital Management System admin directory
  • Set up alerts for database errors that may indicate SQL injection attempts
  • Monitor for unauthorized access to sensitive database tables containing patient records
  • Track any new database user creation or privilege escalation events

How to Mitigate CVE-2024-0361

Immediate Actions Required

  • Restrict network access to the admin interface using firewall rules or VPN requirements
  • Implement a Web Application Firewall with SQL injection detection rules in blocking mode
  • Review database access logs for signs of prior exploitation
  • Consider taking the application offline until patches or code fixes can be applied

Patch Information

As of the last NVD update on November 21, 2024, no official vendor patch has been released for this vulnerability. Organizations using PHPGurukul Hospital Management System 1.0 should monitor the VulDB entry and vendor communications for patch availability. In the absence of an official fix, implementing the workarounds below is strongly recommended.

Workarounds

  • Modify the admin/contact.php file to implement prepared statements with parameterized queries for all database operations involving user input
  • Deploy input validation to restrict the mobnum parameter to numeric characters only
  • Implement a WAF or reverse proxy with SQL injection filtering capabilities in front of the application
  • Restrict access to the admin directory to trusted IP addresses only
bash
# Apache .htaccess configuration to restrict admin access
<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.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 Project Document

  • VulDB CTI ID #250128

  • VulDB #250128
  • 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