Home page logo
/

bugtraq logo Bugtraq mailing list archives

Local File Inclusion in TCMS
From: advisory () htbridge ch
Date: Thu, 26 Aug 2010 14:52:30 +0200 (CEST)

Vulnerability ID: HTB22573
Reference: http://www.htbridge.ch/advisory/local_file_inclusion_in_tcms.html
Product: TCMS
Vendor: Target CMS ( http://targetcms.com/ ) 
Vulnerable Version: 100728 and Probably Prior Versions
Vendor Notification: 09 August 2010 
Vulnerability Type: Local File Inclusion
Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response
Risk level: High 
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/) 

Vulnerability Details:
Null-byte (%00) injection and catalog bypass (../) attacks are possible and can lead to arbitrary local file inclusion 
and execution. An attacker needs to have a possibility to modify or create local files to exploit this vulnerability, 
or have a malicious file already existing in the system.

The vulnerability exists due to failure in the "target.php" script to properly sanitize user-supplied input in 
"template" variable. An attacker can compromise the application, execute arbitrary operating system commands, alter 
file system integrity, access or modify sensitive data.

Attacker can use browser to exploit this vulnerability. The following PoC is available:
http://host/www/index.php?template=./../../../../../../../tmp/test.php%00



  By Date           By Thread  

Current thread:
  • Local File Inclusion in TCMS advisory (Aug 26)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault