[i] Product Name: AIOCP - All In One Control Panel
[i] Vulnerable Versions: <= 1.3.009
[i] Bug found by: Coloss
[i] Contact: coloss7 (at) gmail (dot) com [email concealed]
[i] Date: 9.1.2007
[i] Spec: AIOCP doesn't check the username posted by the client before
using this to check authentication, so SQL Injection is possible
Example shows how to bypass login
[i] Other infos: This works with magic_quotes_gpc = Off
[i] Workaround: Edit source code to properly check username
No official patch is yet available
Parameters username and password are posted by the user on any login form.
Password is crypted with md5() so it
cannot be used to perform any attack. Otherwise username isn't checked
before the SQL query is performed.
In: http://www.example.org/AIOCP/admin/code/index.php
Username: ' OR user_id = '2' UNION SELECT * FROM aiocp_users WHERE
user_name='
Password: <any password>
So you 'll get admin rights. (you 'll get rights of user with id = 2,
usually admin)
Note: You have to substitute user_id = '<user_id>' with some existing
user_id.. usually 2 is admin user id
Feedback :
If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.