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

CVE-2024-0485: Fighting Cock Information System SQL Injection

CVE-2024-0485 is a critical SQL injection vulnerability in Code-projects Fighting Cock Information System 1.0 affecting the admin panel. This article covers the technical details, affected versions, and mitigation steps.

Published: April 8, 2026

CVE-2024-0485 Overview

A critical SQL injection vulnerability has been identified in Code-projects Fighting Cock Information System version 1.0. The vulnerability exists in the file admin/pages/tables/add_con.php where the id parameter is improperly sanitized before being used in SQL queries. This allows remote attackers to inject malicious SQL statements, potentially leading to unauthorized data access, modification, or deletion of database contents.

Critical Impact

Remote attackers can exploit this SQL injection vulnerability without authentication to gain unauthorized access to the database, potentially extracting sensitive information, modifying data, or compromising the entire system.

Affected Products

  • Code-projects Fighting Cock Information System 1.0

Discovery Timeline

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

Technical Details for CVE-2024-0485

Vulnerability Analysis

This vulnerability is classified as CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), commonly known as SQL Injection. The vulnerable endpoint admin/pages/tables/add_con.php fails to properly validate or sanitize the id parameter before incorporating it into SQL queries. This allows attackers to inject arbitrary SQL commands that are executed by the database server with the same privileges as the application.

The attack can be launched remotely without requiring authentication, making it particularly dangerous. Successful exploitation could allow an attacker to read sensitive data from the database, modify or delete existing records, execute administrative operations on the database, and in some configurations, execute commands on the underlying operating system.

Root Cause

The root cause of this vulnerability is improper input validation in the add_con.php file. The application directly uses user-supplied input from the id parameter in SQL queries without proper sanitization, parameterization, or prepared statements. This classic SQL injection flaw occurs when dynamic SQL queries are constructed using string concatenation with untrusted input rather than using secure parameterized queries.

Attack Vector

The vulnerability is exploitable over the network, requiring no authentication or user interaction. An attacker can craft malicious HTTP requests to the vulnerable endpoint with specially crafted id parameter values containing SQL injection payloads. The attack complexity is low, as standard SQL injection techniques can be employed to manipulate database queries.

The vulnerable parameter accepts input that is directly concatenated into SQL statements, allowing attackers to break out of the intended query structure and inject their own SQL commands. Common attack patterns include UNION-based injection to extract data from other tables, boolean-based blind injection to infer data through true/false responses, and time-based blind injection using database sleep functions.

For detailed technical analysis and proof-of-concept documentation, refer to the GitHub PoC Documentation and the Vicarius Blog CVE-2024-0485 Analysis.

Detection Methods for CVE-2024-0485

Indicators of Compromise

  • Unusual or malformed requests to admin/pages/tables/add_con.php containing SQL syntax characters such as single quotes, double dashes, or UNION keywords in the id parameter
  • Database error messages appearing in application logs or HTTP responses indicating SQL syntax errors
  • Unexplained database queries or data extraction activities in database audit logs
  • Web server access logs showing repeated requests to the vulnerable endpoint with varying payloads

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block common SQL injection patterns targeting the id parameter
  • Enable and monitor database query logging for suspicious or unauthorized queries originating from the web application
  • Deploy intrusion detection systems (IDS) with signatures for SQL injection attack patterns
  • Review web server access logs for requests containing SQL metacharacters in URL parameters

Monitoring Recommendations

  • Configure real-time alerting for HTTP requests to add_con.php containing common SQL injection keywords (UNION, SELECT, INSERT, DROP, etc.)
  • Monitor database server for unusual query patterns, excessive failed queries, or unauthorized data access attempts
  • Implement application-level logging to capture and analyze all input to vulnerable parameters
  • Set up anomaly detection for unusual traffic patterns to administrative endpoints

How to Mitigate CVE-2024-0485

Immediate Actions Required

  • Restrict network access to the vulnerable admin/pages/tables/add_con.php endpoint using firewall rules or web server configuration
  • Implement input validation to reject requests containing SQL metacharacters in the id parameter
  • Deploy a Web Application Firewall (WAF) with SQL injection protection rules as an interim measure
  • Consider disabling or removing the Fighting Cock Information System application until a patch is available

Patch Information

As of the last update, no official vendor patch has been released for this vulnerability. Users should monitor the VulDB entry for updates on patch availability. Given the critical nature of this vulnerability and the lack of vendor response, organizations should consider alternative mitigation strategies or replacing the affected software.

Workarounds

  • Implement prepared statements with parameterized queries in the vulnerable PHP file if source code modification is possible
  • Use a Web Application Firewall to filter malicious SQL injection attempts before they reach the application
  • Restrict access to administrative pages using IP whitelisting or VPN requirements
  • Apply the principle of least privilege to the database user account used by the application to limit the impact of successful exploitation
bash
# Example Apache .htaccess configuration to restrict access to admin pages
<Directory "/var/www/html/admin">
    Order Deny,Allow
    Deny from all
    Allow from 192.168.1.0/24
    # Replace with your trusted IP range
</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 PoC Documentation

  • VulDB CTI ID #250590

  • VulDB #250590

  • Vicarius Blog CVE-2024-0485 Analysis
  • 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-0484: Fighting Cock Information System SQLi Flaw
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