------------------------------------------------------------------ - bloggage Remote SQL Injection Exploit - -= http://colander.altervista.org/advisory/bloggage.txt =- ------------------------------------------------------------------ -= Bloggage =- Omnipresent April 20, 2006 Vunerability(s): ---------------- SQL Injection Product: -------- bloggage Vendor: -------- http://ccc.domaindlx.com/bloggage/default.asp Description of product: ----------------------- Now Bloggage is Open Source!!! Welcome to bloggage. It is a new generation fusion of blogging and homepage. It is made for those who currently keep separate homepages and blogs and find it difficult to maintain both. Anyone can use bloggage with ease. It has many unique features such as user privileges, commenting system, WYSIWYG editor, template system, customized layout of the blog and many others. Best of all, It's FREE!!!!!! So enjoy bloggage and please supply your comments for future improvements. Vulnerability / Exploit: ------------------------ This software is vulnerable to a SQL Injection. If you look into: login.asp there is:
[...] You can see that this script call an other script called check_login.asp. In check_loging.asp there is a flaw that can allow an attacker to exploit the hole with Remote SQL Injection because the variables acc_name and password are not properly sanitised. So, in check_login.asp there is: [...] RS.Open "SELECT Account_Name FROM registration WHERE Account_Name='" & acc_name & "' AND Password='" & password & "'", DB [...] If an attacker put this codes 1' OR '1' = '1 into acc_name and password variables he can login into blogger! the query will be: RS.Open "SELECT Account_Name FROM registration WHERE Account_Name='1' OR '1' = '1' AND Password='1' OR '1' = '1', DB Vendor Status ------------- The vendor is informed but I've not received reply! Credits: -------- 
Account Name
Password