Lucene search
K

terracotta-lfidownload.txt

🗓️ 02 Apr 2008 00:00:00Reported by Joseph GironType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 24 Views

Terracotta open source CMS has Full Path Disclosure and Local File Inclusion vulnerabilities leading to directory and file probing, as well as server side code peeking

Code
`Its been awhile since I've posted something, so lets get to the goods.  
  
Terracotta is a an open source CMS from http://sourceforge.net/projects/terracotta/  
  
First up, we have Full path disclosure vulnerabilities in the GET'd variable 'File'. Specify something other than whats in the list and we get full paths and other useful information.   
  
Next we have some nice LFI.   
  
To LFI this code, we try the following:  
  
www.example.com/index.php?CurrentDirectory=FOLDER_420c142a1bebd1.90885049/../../../../../../../../../etc/&StartAt=12  
  
The GET'd variable Current directory fails to check for other invalid input allowing us to specifiy folders outside the normal program's environment. though we can only specify folders, it will display them for us as if it were part of its normal viewing procedures.   
  
To add insult to injury, there is another parameter present for download processing that we can manipulate to specify which file we want.   
www.example.com/index.php?CurrentDirectory=FOLDER_420c142a1bebd1.90885049/../../whatever/&StartAt=12&File=whateverwewant.txt  
  
This used in conjunction with our full path disclosures allow for some directory and file probing as well as a peek at server side code.  
  
No patch yet. Happy hunting!   
`

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