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
    • 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-0477

CVE-2024-0477: Fighting Cock System SQL Injection Flaw

CVE-2024-0477 is a critical SQL injection vulnerability in Code-projects Fighting Cock Information System 1.0 affecting the update-deworm.php file. This article covers technical details, affected versions, and mitigation.

Published: April 8, 2026

CVE-2024-0477 Overview

A critical SQL injection vulnerability has been discovered in code-projects Fighting Cock Information System version 1.0. This vulnerability exists in the file /admin/action/update-deworm.php and can be exploited through manipulation of the usage_deworm parameter. The flaw allows remote attackers to execute arbitrary SQL commands against the backend database without authentication, potentially leading to complete database compromise.

Critical Impact

Unauthenticated attackers can remotely exploit this SQL injection vulnerability to read, modify, or delete database contents, potentially compromising all application data and gaining unauthorized access to sensitive information.

Affected Products

  • code-projects Fighting Cock Information System 1.0

Discovery Timeline

  • 2024-01-13 - CVE-2024-0477 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-0477

Vulnerability Analysis

This SQL injection vulnerability (CWE-89) affects the administrative update functionality within the Fighting Cock Information System. The vulnerable endpoint /admin/action/update-deworm.php fails to properly sanitize user-supplied input in the usage_deworm parameter before incorporating it into SQL queries. This allows attackers to inject malicious SQL statements that are executed by the database server with the privileges of the application's database user.

The vulnerability is particularly severe because it can be exploited remotely over the network without requiring any prior authentication or user interaction. Successful exploitation could result in complete compromise of the application's confidentiality, integrity, and availability.

Root Cause

The root cause of this vulnerability is improper input validation and the use of unsanitized user input directly in SQL query construction. The application does not employ parameterized queries or prepared statements, allowing malicious SQL code injected through the usage_deworm parameter to be executed as part of the database query. This is a classic example of CWE-89: Improper Neutralization of Special Elements used in an SQL Command.

Attack Vector

The attack can be initiated remotely over the network by sending a crafted HTTP request to the vulnerable endpoint /admin/action/update-deworm.php. An attacker would manipulate the usage_deworm parameter to include SQL injection payloads such as UNION-based queries for data extraction, time-based blind injection techniques, or stacked queries to modify database content.

The vulnerability is exploitable without authentication, meaning any network-accessible attacker can target the vulnerable endpoint. The exploit has been publicly disclosed, increasing the risk of exploitation in the wild. Technical details of the vulnerability are documented in the GitHub Security Document and tracked by VulDB #250582.

Detection Methods for CVE-2024-0477

Indicators of Compromise

  • Unusual HTTP requests to /admin/action/update-deworm.php containing SQL syntax such as single quotes, UNION SELECT, OR 1=1, or comment sequences
  • Database error messages or anomalies in application logs indicating malformed queries
  • Unexpected database queries or data exfiltration patterns in database audit logs
  • Unusual outbound network connections from the database server

Detection Strategies

  • Deploy Web Application Firewall (WAF) rules to detect and block SQL injection patterns targeting the usage_deworm parameter
  • Monitor HTTP access logs for requests to /admin/action/update-deworm.php containing suspicious characters or SQL keywords
  • Enable database query logging and alert on queries containing injection signatures
  • Implement intrusion detection system (IDS) rules for SQL injection attack patterns

Monitoring Recommendations

  • Enable detailed logging for the /admin/action/ directory and review logs for anomalous activity
  • Configure database auditing to capture all queries executed against application tables
  • Set up real-time alerts for error conditions indicating failed SQL injection attempts
  • Monitor for unauthorized data access patterns or bulk data retrieval operations

How to Mitigate CVE-2024-0477

Immediate Actions Required

  • Restrict network access to the vulnerable endpoint /admin/action/update-deworm.php using firewall rules or web server configuration
  • Deploy a Web Application Firewall (WAF) with SQL injection protection in front of the application
  • Consider taking the application offline if it contains sensitive data until proper remediation is implemented
  • Review database logs for any signs of prior exploitation

Patch Information

No official vendor patch is currently available for this vulnerability. The application is a code-projects open-source project, and users should monitor the project repository for security updates. Given the critical nature of this vulnerability and the lack of official remediation, organizations should prioritize implementing compensating controls or consider alternative solutions.

Workarounds

  • Implement input validation on the usage_deworm parameter to allow only expected characters and reject SQL metacharacters
  • Modify the application code to use parameterized queries or prepared statements instead of string concatenation
  • Restrict access to administrative endpoints through IP whitelisting or VPN requirements
  • Deploy network segmentation to isolate the application from critical infrastructure

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechCode Projects Fighting Cock Information 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 Document on Fighting Cock SQL

  • VulDB CTI ID #250582

  • VulDB #250582
  • Related CVEs
  • CVE-2024-0488: Fighting Cock Info System SQLi Flaw

  • CVE-2024-0487: Fighting Cock Information System SQL Injection

  • CVE-2024-0486: Fighting Cock System SQL Injection Flaw

  • CVE-2024-0485: Fighting Cock Information System SQL Injection
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