code-projects Chat System SQL Injection Vulnerability

Vulnerability

A critical SQL injection vulnerability has been identified in code-projects Chat System version 1.0. The issue arises in the file '/user/fetch_chat.php', where the 'ID' parameter is not properly sanitized, allowing attackers to inject malicious SQL code. This vulnerability can be exploited remotely, and public knowledge of the exploit exists.

Impact

Exploitation of this vulnerability allows for SQL injection, where an attacker can manipulate database queries. This could lead to unauthorized data access, data modification, or in some cases, executing administrative operations on the database.

Reproduction

To reproduce this vulnerability, send a request to '/user/fetch_chat.php' with a crafted 'ID' parameter that includes malicious SQL code. The lack of proper input sanitization will allow the injected SQL to be executed, manipulating the database query and potentially leading to unauthorized data access or modification.

Added: Jul 8, 2025, 6:09 PM
Updated: Jul 8, 2025, 6:09 PM

Vulnerability Rating

Custom Algorithm
spread
1.0
impact
2.5
exploitability
6.8
remediation
0.0
relevance
0.2
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.