Title: vbPortal Authentication SQL Injection Vulnerability
Severity: HIGH
Description:
vbPortal is a portal application which can be used in conjunction with vbBulletin forums.
It has been reported that vbPortal is prone to SQL injection attacks when authentication users. The problem occurs due to insufficient sanitization of the $aid variable, used to store the name of the authenticating user. Specifically, slashes are not placed into the value of $aid to terminate any control characters after the data has been base64 decoded. The exploitable SQL query can be seen below:
$result=mysql_query("SELECT password as pwd FROM user WHERE username = '$aid'");
As a result, an attacker may supply data within the username designed to prematurely terminate the string, and influence the logic of this SQL query. This may be exploited to expose sensitive information, or potentially to launch attacks against the underlying database.
This issue can be exploited by making a malicious HTTP request to the auth.inc.php script, including a base64 encoded payload embedded within the 'admin' URI parameter.
Affected Products:
- vbPortal vbPortal 2.0.0 alpha 8.1
References:
- vbPortal: vbPortal Home Page
Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.