Code-Projects Simple Forum SQL Injection Vulnerability in Forum Edit PHP File

Vulnerability

A critical SQL injection vulnerability has been identified in Code-Projects Simple Forum version 1.0. The issue resides in the 'forum_edit.php' file, where the 'iii' parameter is manipulated to inject malicious SQL queries. This vulnerability allows remote attackers to gain unauthorized access to the database, modify or delete data, and access sensitive information. The vulnerability requires authentication to exploit, as a valid PHP session ID is needed.

Impact

Exploitation of this vulnerability allows for unauthorized database access, manipulation of database contents, and potential leakage of sensitive information. Such actions could disrupt services and pose a significant threat to overall system security.

Reproduction

To reproduce this vulnerability, authenticate into the application to obtain a valid PHP session ID. Then, send a GET request to 'forum_edit.php' with the 'iii' parameter. Inject a payload that exploits the SQL injection vulnerability, such as one that uses a time-based blind SQL injection technique, like the SQLMap tool.

Remediation

It is recommended to use prepared statements and parameter binding to prevent SQL injection, validate and filter user input, minimize database user permissions, and conduct regular security audits.

Added: Jun 29, 2025, 6:18 AM
Updated: Jun 29, 2025, 6:18 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
6.6
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.