vendor:
AutoRank PHP
by:
James Bercegay
7.5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: AutoRank PHP
Affected Version From: <= 2.0.4
Affected Version To: <= 2.0.4
Patch Exists: YES
Related CWE: N/A
CPE: a:jmb_software:autorank_php
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: N/A
2005
AutoRank PHP SQL Injection
Autorank PHP is vulnerable to SQL Injection attacks. The vulnerabilities can be exploited by injecting SQL queries into the user & password fields when editing an account, the email field when requesting a lost password and the username field when registering an account. If a malicious attacker logs in with the username and password '-- he will automatically be given access to the first account cataloged in the database. He can then view the HTML source code to view that users password in plain text. This also leaves the database being used by Autorank PHP open for attack. The affected file is accounts.php
Mitigation:
Input validation should be used to prevent SQL injection attacks. All user-supplied input should be validated and filtered before being used in an SQL query.