vendor:
Simple Free PHP Forum Script
by:
Skraps, Jackie Craig Sparks
7.5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: Simple Free PHP Forum Script
Affected Version From: 1
Affected Version To: 1
Patch Exists: NO
Related CWE:
CPE:
Platforms Tested:
2011
Simple Free PHP Forum Script <= 1 SQL Injection Vulnerability
This script is riddled with unsanitized REQUEST variables that allow multiple SQL injections. The PoC shows an example of an SQL injection attack. The vulnerable code is shown on line 150 of discussion.php file.
Mitigation:
To mitigate this vulnerability, all user input should be properly sanitized and validated before using it in SQL queries. Prepared statements or parameterized queries should be used to prevent SQL injection attacks.