Unauthenticated SQL injection via raw id query
Published Jan 13, 2024 · Updated Jun 17, 2025
SQL injection in Code Projects Fighting Cock Information System 1.0 allows remote attackers to read and alter database data via the id parameter. The add_con.php handler inserts the id value directly into a quoted SELECT against the chickens table and executes it without neutralization. No authentication or session check gates the handler; a crafted HTTP GET request reaches the database and permits command execution when MySQL allows file writes.
Summary
What happened
SQL injection in Code Projects Fighting Cock Information System 1.0 allows remote attackers to read and alter database data via the id parameter. The add_con.php handler inserts the id value directly into a quoted SELECT against the chickens table and executes it without neutralization. No authentication or session check gates the handler; a crafted HTTP GET request reaches the database and permits command execution when MySQL allows file writes.
The record
- CVE
- CVE-2024-0485
- Published
- Jan 13, 2024
- Updated
- Jun 17, 2025
- Vendor
- Code Projects
- Product
- Fighting Cock Information System
- Classifications
- CWE-89, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 13, 2024CVE publishedPublication date reported by the CVE source.
- Jun 17, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.0
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Unauthenticated SQL injection exploitation walkthroughfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo