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

CVE-2024-0478: Fighting Cock Information System SQLi Flaw

CVE-2024-0478 is a critical SQL injection vulnerability in Code-projects Fighting Cock Information System 1.0 affecting edit_chicken.php. This article covers technical details, affected versions, impact, and mitigation.

Published: April 8, 2026

CVE-2024-0478 Overview

A critical SQL Injection vulnerability has been identified in code-projects Fighting Cock Information System version 1.0. This vulnerability exists in the file /admin/pages/edit_chicken.php where the id parameter is not properly sanitized before being used in SQL queries. The flaw allows remote attackers to execute arbitrary SQL commands against the underlying database without authentication.

Critical Impact

Remote attackers can exploit this SQL Injection vulnerability to extract sensitive data, modify database contents, or potentially achieve remote code execution through database functionality. The vulnerability requires no authentication and can be exploited remotely over the network.

Affected Products

  • Code-projects Fighting Cock Information System 1.0

Discovery Timeline

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

Technical Details for CVE-2024-0478

Vulnerability Analysis

This SQL Injection vulnerability (CWE-89) occurs in the administrative interface of the Fighting Cock Information System. The vulnerable endpoint /admin/pages/edit_chicken.php accepts a user-controlled id parameter that is incorporated directly into SQL queries without proper sanitization or parameterized query implementation. This classic input validation flaw enables attackers to inject malicious SQL statements that the database server will execute with the same privileges as the application's database user.

The attack surface is accessible remotely over the network and requires no authentication or user interaction to exploit. An attacker can craft malicious requests containing SQL syntax in the id parameter to manipulate the query logic, potentially leading to unauthorized data access, data modification, or complete database compromise.

Root Cause

The root cause of this vulnerability is the failure to implement proper input validation and parameterized queries (prepared statements) in the edit_chicken.php script. The id parameter is directly concatenated into SQL query strings instead of being treated as data through proper parameterization. This allows attackers to escape the intended query context and inject arbitrary SQL commands.

Attack Vector

The attack vector is network-based, targeting the /admin/pages/edit_chicken.php endpoint. An attacker can craft HTTP requests with malicious SQL payloads in the id parameter. Since the endpoint is in the admin directory but the vulnerability is exploitable without authentication, any network-accessible attacker can submit malicious requests to trigger the SQL Injection.

The vulnerability has been publicly disclosed with documentation available in the GitHub FirePunch Documentation. The exploitation methodology involves sending specially crafted values in the id parameter to manipulate database queries, potentially using techniques such as UNION-based injection, error-based injection, or time-based blind injection depending on the application's error handling configuration.

Detection Methods for CVE-2024-0478

Indicators of Compromise

  • HTTP requests to /admin/pages/edit_chicken.php containing SQL syntax in the id parameter (e.g., single quotes, UNION SELECT, OR 1=1, etc.)
  • Database logs showing unusual queries or error messages related to SQL syntax
  • Unexpected data modifications or access patterns in database tables related to the chicken management functionality
  • Web server logs showing requests with encoded SQL payloads targeting the vulnerable endpoint

Detection Strategies

  • Deploy Web Application Firewall (WAF) rules to detect and block SQL Injection patterns in HTTP parameters
  • Implement database activity monitoring to alert on anomalous query patterns or unauthorized data access
  • Configure intrusion detection systems (IDS) to identify SQL Injection attack signatures in network traffic
  • Enable detailed logging for the /admin/pages/edit_chicken.php endpoint and monitor for suspicious parameter values

Monitoring Recommendations

  • Monitor web server access logs for requests targeting /admin/pages/edit_chicken.php with suspicious id parameter values
  • Set up alerts for database errors related to SQL syntax issues from the application
  • Implement rate limiting on administrative endpoints to slow down automated exploitation attempts
  • Review database query logs for unauthorized SELECT, INSERT, UPDATE, or DELETE operations

How to Mitigate CVE-2024-0478

Immediate Actions Required

  • Restrict network access to the vulnerable /admin/pages/edit_chicken.php endpoint using firewall rules or access control lists
  • Implement a Web Application Firewall (WAF) rule to filter SQL Injection patterns in the id parameter
  • Consider taking the application offline until a proper fix can be implemented
  • Review database access for any signs of unauthorized data extraction or modification

Patch Information

No official vendor patch is currently available for this vulnerability. As this is a code-projects application, users may need to implement their own fixes or seek community-developed patches. The recommended remediation is to modify the vulnerable edit_chicken.php file to use parameterized queries (prepared statements) instead of direct string concatenation for the id parameter.

Additional technical details and vulnerability documentation can be found in the VulDB entry #250583 and the VulDB CTI ID #250583.

Workarounds

  • Deploy a reverse proxy or WAF in front of the application to filter malicious input to the id parameter
  • Restrict access to the /admin/ directory to trusted IP addresses only using server-level access controls
  • Manually modify the edit_chicken.php file to implement input validation and parameterized queries
  • Consider migrating to a more actively maintained information management system if patches are not forthcoming
bash
# Example: Apache .htaccess configuration to restrict admin access by IP
<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/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 FirePunch Documentation

  • VulDB CTI ID #250583

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