vendor:
by:
rick patel
7.5
CVSS
HIGH
SQL Injection
89
CWE
Product Name:
Affected Version From:
Affected Version To:
Patch Exists: NO
Related CWE:
CPE:
Platforms Tested:
phpBB password disclosure vuln.
There is a SQL injection vulnerability in the /viewtopic.php file. The variable $topic_id is directly passed to the SQL server in a query. An attacker can pass a special SQL string to view the MD5 password hash for any user in phpBB. This password can then be used for autologin or cracked using tools like John the Ripper.
Mitigation:
To mitigate this vulnerability, it is recommended to sanitize and validate user input before using it in SQL queries. Additionally, using prepared statements or parameterized queries can help prevent SQL injection attacks.