A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-10740

CVE-2024-10740: E-Health Care System SQL Injection Flaw

CVE-2024-10740 is a critical SQL injection vulnerability in Anisha E-Health Care System affecting the consulting_detail.php file. Attackers can exploit this remotely to manipulate databases. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: May 26, 2026

CVE-2024-10740 Overview

CVE-2024-10740 is a SQL injection vulnerability in code-projects E-Health Care System version 1.0, developed by Anisha. The flaw resides in the /Admin/consulting_detail.php script, where the consulting_id parameter is incorporated into a database query without proper sanitization. Attackers can exploit this issue remotely over the network with low-privileged authenticated access. The vulnerability is tracked under CWE-89 and has been publicly disclosed, including proof-of-concept details published on third-party platforms.

Critical Impact

Remote attackers with low privileges can manipulate database queries through the consulting_id parameter, potentially exposing patient records, administrative credentials, and other sensitive healthcare data stored within the application.

Affected Products

  • Anisha E-Health Care System 1.0
  • code-projects E-Health Care System (all builds up to 1.0)
  • Deployments referencing the vulnerable /Admin/consulting_detail.php endpoint

Discovery Timeline

  • 2024-11-03 - CVE-2024-10740 published to the National Vulnerability Database
  • 2024-11-05 - Last updated in NVD database

Technical Details for CVE-2024-10740

Vulnerability Analysis

The vulnerability is a classic SQL injection flaw classified under [CWE-89]. The administrative consulting detail page accepts the consulting_id argument directly from an HTTP request and concatenates it into a SQL statement. Because no parameterized query, prepared statement, or input validation guards the parameter, an attacker can append arbitrary SQL syntax to alter the query logic. The exploit is reachable over the network and requires only low-privileged authentication, which is consistent with the application's permissive administrative scope.

Given the application's healthcare context, successful exploitation can expose patient consultation records, login credentials, and other protected health information. The attacker can also leverage stacked queries or UNION SELECT constructs to enumerate the schema and exfiltrate data.

Root Cause

The root cause is the use of unsanitized user input in a dynamically constructed SQL query within /Admin/consulting_detail.php. The consulting_id parameter is passed to the database engine without type-casting, escaping, or binding through a prepared statement, allowing attacker-supplied SQL syntax to be parsed and executed.

Attack Vector

An authenticated attacker sends a crafted HTTP request to the /Admin/consulting_detail.php endpoint, supplying a malicious payload in the consulting_id parameter. Typical payloads include boolean-based, error-based, time-based, or UNION-based injection patterns. Because the request originates over HTTP, no local access or user interaction is required beyond initial authentication.

The vulnerability mechanism is documented in third-party advisories. See the GitHub CVE SQL Guide and the VulDB ID #282909 submission for additional technical detail.

Detection Methods for CVE-2024-10740

Indicators of Compromise

  • HTTP requests to /Admin/consulting_detail.php containing SQL meta-characters such as ', --, UNION, SELECT, SLEEP(, or 0x in the consulting_id parameter
  • Database error responses returned to clients when interacting with the consulting detail page
  • Unexpected outbound data flows from the web server following requests to the affected endpoint

Detection Strategies

  • Deploy web application firewall (WAF) signatures that flag SQL injection patterns targeting the consulting_id query string parameter
  • Enable database query logging and alert on queries containing UNION SELECT, INFORMATION_SCHEMA, or BENCHMARK( originating from the E-Health Care System service account
  • Correlate web access logs with database audit logs to identify single-request access patterns that return abnormal row counts

Monitoring Recommendations

  • Continuously monitor authentication events to the /Admin/ directory and alert on anomalous administrative session activity
  • Track response sizes and HTTP status codes for /Admin/consulting_detail.php to detect data exfiltration via blind injection
  • Review web server and PHP error logs for SQL syntax errors that indicate active probing

How to Mitigate CVE-2024-10740

Immediate Actions Required

  • Restrict access to the /Admin/ directory using IP allowlisting or network segmentation until a vendor patch is available
  • Audit administrative accounts and rotate credentials that may have been exposed through prior exploitation
  • Deploy WAF rules that block SQL meta-characters in the consulting_id parameter

Patch Information

No vendor advisory or official patch has been published for CVE-2024-10740 at the time of writing. Organizations should consult the code-projects resource page for vendor updates and consider replacing the application if maintenance has been discontinued. Refer to VulDB CTI ID #282909 for ongoing tracking.

Workarounds

  • Modify /Admin/consulting_detail.php to use PHP Data Objects (PDO) with prepared statements and bound parameters for the consulting_id value
  • Enforce strict server-side input validation that confirms consulting_id is a numeric integer before query execution
  • Apply the principle of least privilege to the database account used by the application to limit data accessible through a successful injection
bash
# Example PHP remediation using PDO prepared statements
$stmt = $pdo->prepare("SELECT * FROM consulting WHERE consulting_id = :id");
$stmt->bindParam(':id', $_GET['consulting_id'], PDO::PARAM_INT);
$stmt->execute();

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechAnisha E Health Care System

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.10%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-89
  • Technical References
  • Code Projects Resource

  • GitHub CVE SQL Guide

  • VulDB CTI ID #282909

  • VulDB ID #282909

  • VulDB Submission #436311
  • Related CVEs
  • CVE-2024-10739: E-Health Care System SQLi Vulnerability

  • CVE-2024-10741: E-Health Care 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