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

CVE-2024-8080: Online Health Care System SQLi Vulnerability

CVE-2024-8080 is a critical SQL injection vulnerability in Online Health Care System 1.0 affecting the search.php file. Attackers can exploit this remotely to access sensitive data. This article covers technical details, impact, and mitigation.

Published: May 26, 2026

CVE-2024-8080 Overview

CVE-2024-8080 is a SQL injection vulnerability in SourceCodester Online Health Care System 1.0. The flaw resides in the search.php script, where the f_name parameter is concatenated into a SQL statement without proper sanitization. Attackers can manipulate the parameter using UNION-based payloads to extract data directly from the backing database. The vulnerability is remotely exploitable over the network and requires only low-privileged access. Public disclosure of the exploit technique increases the likelihood of opportunistic attacks against exposed installations. The issue is tracked under [CWE-89] (Improper Neutralization of Special Elements used in an SQL Command).

Critical Impact

Remote attackers can inject arbitrary SQL through the f_name parameter in search.php, enabling unauthorized read access to database contents including patient and credential records.

Affected Products

  • SourceCodester Online Health Care System 1.0
  • cpe:2.3:a:online_health_care_system_project:online_health_care_system:1.0
  • Deployments using the unpatched search.php endpoint

Discovery Timeline

  • 2024-08-22 - CVE-2024-8080 published to the National Vulnerability Database (NVD)
  • 2024-10-17 - Last updated in NVD database

Technical Details for CVE-2024-8080

Vulnerability Analysis

The vulnerability is a classic in-band SQL injection in the search functionality of the Online Health Care System web application. The search.php endpoint accepts a f_name HTTP parameter and embeds the value directly into a SQL query string. Because the application does not use parameterized queries or input validation, an attacker can break out of the original query context and append arbitrary SQL clauses.

The published proof-of-concept payload uses a UNION SELECT statement combined with the database() function to enumerate metadata from the underlying database. Using 23 columns matching the original query's column count, the payload returns attacker-controlled values in the application response. This pattern allows extraction of schema names, table contents, and credential material stored in the application's database.

Root Cause

The root cause is improper neutralization of user-supplied input in SQL command construction [CWE-89]. The application concatenates the f_name query parameter into a SQL statement using string interpolation instead of prepared statements with bound parameters. There is no allowlist filtering, type validation, or escaping applied before the value reaches the database driver.

Attack Vector

Exploitation requires network access to the application and a valid low-privileged session capable of reaching search.php. An attacker submits a crafted f_name value such as 1%' or 1=1 ) UNION SELECT 1,2,3,4,5,database(),7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23# to terminate the original predicate and append a UNION query. The server returns the merged result set, exposing database internals through the search response page.

No verified code examples are available for CVE-2024-8080. Refer to the GitHub SQL Injection Guide and VulDB entry #275562 for technical details on the payload structure.

Detection Methods for CVE-2024-8080

Indicators of Compromise

  • HTTP GET or POST requests to search.php containing SQL keywords such as UNION SELECT, database(), or information_schema in the f_name parameter.
  • Web server access logs showing URL-encoded single quotes (%27), comment markers (#, --), or stacked parentheses in the f_name value.
  • Anomalous response sizes from search.php indicating returned rows from UNION-based extraction.
  • Database query logs showing UNION statements originating from the application's database user account.

Detection Strategies

  • Deploy web application firewall (WAF) signatures that flag SQL meta-characters and UNION-based payloads targeting the search.php endpoint.
  • Enable database query auditing to capture statements containing UNION SELECT issued by the application service account.
  • Correlate web access logs with database telemetry to identify input-to-query mappings consistent with injection attempts.

Monitoring Recommendations

  • Monitor outbound HTTP responses from search.php for unusual payload sizes or schema names appearing in rendered output.
  • Alert on repeated 200 OK responses to search.php requests containing SQL grammar tokens within f_name.
  • Track authentication anomalies that may follow successful credential extraction from the database.

How to Mitigate CVE-2024-8080

Immediate Actions Required

  • Restrict network access to the Online Health Care System application to trusted internal networks until a fix is applied.
  • Place a WAF in front of the application with rules blocking SQL injection patterns targeting f_name and other search parameters.
  • Audit database logs for evidence of prior UNION-based extraction and rotate any credentials stored in the application database.

Patch Information

No vendor patch is referenced in the NVD entry for CVE-2024-8080. SourceCodester project maintainers have not published a fixed release. Operators should apply code-level remediation by rewriting the search.php query to use parameterized statements with bound parameters and validate that f_name accepts only expected character classes.

Workarounds

  • Replace string-concatenated SQL in search.php with prepared statements using PDO or MySQLi bound parameters.
  • Apply server-side input validation that rejects non-alphanumeric characters in the f_name field.
  • Run the application database account with least-privilege access, removing rights to system tables such as information_schema where feasible.
  • Disable detailed SQL error reporting in the production application to reduce information available to attackers.
bash
# Example WAF rule (ModSecurity) to block SQL injection in f_name
SecRule ARGS:f_name "@rx (?i:(union(\s|\+)+select|database\(\)|information_schema|--|#))" \
    "id:1008080,phase:2,deny,status:403,msg:'CVE-2024-8080 SQLi attempt in f_name'"

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechOnline Health Care System

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.11%

  • 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
  • GitHub SQL Injection Guide

  • VulDB CTI #275562

  • VulDB #275562

  • VulDB Submission #395465

  • SourceCodester Security Resources
  • Latest CVEs
  • CVE-2024-8261: Prolizyazilim OBS Auth Bypass Vulnerability

  • CVE-2024-13068: LimonDesk Auth Bypass Vulnerability

  • CVE-2025-53679: Fortinet FortiSandbox RCE Vulnerability

  • CVE-2026-9446: Simple POS Inventory System SQLi Flaw
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