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

CVE-2024-0267: Hospital Management System SQLi Vulnerability

CVE-2024-0267 is a critical SQL injection vulnerability in Hospital Management System that allows remote attackers to manipulate login parameters. This article covers technical details, affected versions, and mitigation.

Updated: May 15, 2026

CVE-2024-0267 Overview

CVE-2024-0267 is a SQL injection vulnerability in Kashipara Hospital Management System versions up to 1.0. The flaw resides in the login.php script, where the email and password parameters are passed directly to a backend SQL query without proper sanitization. Remote attackers can exploit the issue without authentication or user interaction to manipulate database queries. Public disclosure of the exploit details makes opportunistic exploitation likely against exposed deployments. The vulnerability is tracked by VulDB as identifier VDB-249823 and classified under CWE-89.

Critical Impact

Unauthenticated remote attackers can bypass login, exfiltrate patient records, and compromise the underlying database through crafted email or password values submitted to login.php.

Affected Products

  • Kashipara Hospital Management System (surajghosh) versions up to and including 1.0
  • The login.php Parameter Handler component
  • Any deployment exposing the application to network-accessible clients

Discovery Timeline

  • 2024-01-07 - CVE-2024-0267 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-0267

Vulnerability Analysis

The vulnerability is a classic SQL injection in the authentication routine of Kashipara Hospital Management System. The login.php handler accepts email and password form fields and concatenates them into a SQL query against the user table. Because the application does not use prepared statements or parameter binding, attacker-controlled input alters the query's logic. Successful exploitation yields authentication bypass, arbitrary data extraction, and potentially write access to backend tables.

The weakness aligns with CWE-89: Improper Neutralization of Special Elements used in an SQL Command. The attack surface is reachable over the network with no privileges or user interaction. Public proof-of-concept material is referenced in the GitHub Vulnerability Report and indexed by VulDB #249823.

Root Cause

The root cause is the use of unsanitized user input in dynamic SQL construction. The login handler treats the email and password parameters as trusted strings and inserts them directly into a SELECT statement. No input validation, escaping, or parameterized queries are applied before the query reaches the database engine.

Attack Vector

An attacker sends a crafted HTTP POST request to login.php containing SQL meta-characters in the email or password field. Payloads such as a single quote followed by a tautology and a comment sequence terminate the original query early and force a successful authentication branch. The same injection point supports UNION SELECT queries to extract data or stacked statements where the database driver permits them.

The vulnerability is exploitable in prose form only; no verified exploit code is republished here. Refer to the VulDB CTI ID #249823 entry for indexed technical details.

Detection Methods for CVE-2024-0267

Indicators of Compromise

  • HTTP POST requests to /login.php containing SQL meta-characters such as ', --, /*, UNION, SELECT, or OR 1=1 in the email or password fields
  • Web server access logs showing repeated failed logins followed by a successful authentication from the same source IP
  • Database error messages or stack traces returned in HTTP responses from login.php
  • Anomalous outbound traffic from the application or database host after suspect login activity

Detection Strategies

  • Deploy web application firewall signatures that flag SQL injection patterns targeting the login.php endpoint
  • Enable database query logging and alert on queries containing tautologies, UNION operators, or commented-out clauses originating from the application user
  • Correlate authentication events with web request payloads to identify login bypass attempts

Monitoring Recommendations

  • Monitor the application's database account for unexpected SELECT volume, schema enumeration queries against information_schema, or queries to tables outside the normal login workflow
  • Track HTTP response sizes from login.php for outliers consistent with data extraction
  • Alert on any 5xx responses from login.php that include database driver error text

How to Mitigate CVE-2024-0267

Immediate Actions Required

  • Restrict network access to the Hospital Management System using firewall rules or a reverse proxy until a fix is applied
  • Deploy WAF rules that block SQL injection signatures on the login.php endpoint, with particular focus on the email and password parameters
  • Rotate database credentials and review database audit logs for evidence of prior exploitation
  • Reduce the privileges of the database account used by the application to the minimum required for normal operation

Patch Information

No vendor-supplied patch is referenced in the public CVE record at the time of writing. Operators should monitor the VulDB entry and the upstream project for fixes. Until a patch is available, rewrite the affected query to use parameterized statements and apply strict input validation to authentication parameters.

Workarounds

  • Replace inline SQL in login.php with prepared statements using parameter binding for email and password
  • Apply allow-list input validation on the email field and reject characters outside a strict pattern
  • Place the application behind an authenticating reverse proxy to limit exposure to trusted users
  • Disable verbose database error messages so query failures do not leak schema information to clients
bash
# Example WAF rule (ModSecurity) to block SQLi attempts against login.php
SecRule REQUEST_URI "@endsWith /login.php" \
    "id:1002670,phase:2,deny,status:403,msg:'SQLi attempt against login.php (CVE-2024-0267)',\
    chain"
    SecRule ARGS:email|ARGS:password "@rx (?i)(\b(union|select|or|and)\b.*\b(select|from|where)\b|--|/\*|;|\bor\b\s+1=1)"

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechSurajghosh 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 Vulnerability Report

  • VulDB CTI ID #249823

  • VulDB #249823
  • Related CVEs
  • CVE-2024-0268: 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