BugTraq
JetBox cms (search_function.php) Remote File Include Aug 28 2006 01:08PM
carcabotx yahoo com (1 replies)
AW: JetBox cms (search_function.php) Remote File Include Aug 29 2006 06:27AM
Frank Reißner (mail frank-reissner de)
The same 'vuln' was posted yesterday and it is definitly not exploitable.
You can't include any file there the include function is called in a
function and you can't call that function in any way by requesting
search_function.php.

Search_function.php

<?php

//comments

function phpdigSearch(){

Line: 423 <?php include $relative_script_path.'/libs/htmlheader.php' ?>

...
}

?>

The variable $relative_script_path is also initialized in the function
header

function phpdigSearch($id_connect, $query_string, $option='start',
$refine=0, $refine_url='', $lim_start=0, $limite=10,
$browse=0,$site=0, $path='',
$relative_script_path = '.', $template='',
$templates_links='')
{
...
}

Please explain us how that should be exploited.

-----Ursprüngliche Nachricht-----
Von: carcabotx (at) yahoo (dot) com [email concealed] [mailto:carcabotx (at) yahoo (dot) com [email concealed]]
Gesendet: Montag, 28. August 2006 15:08
An: bugtraq (at) securityfocus (dot) com [email concealed]
Betreff: JetBox cms (search_function.php) Remote File Include

############################################

Found by : CarcaBot

--

E-mail : CarcaBotx [at] Yahoo [dot] com

--

$relative_script_path.'/libs/htmlheader.php

--

Exploit

--

# Google Dork: powered by Jetbox CMS

--

http://www.sitename.com/path/includes/phpdig/libs/search_function.php?re
lati
ve

_script_path=[Evil Code]

--

Greets goes to : CarcaBot Administrator of Romanian Electronic Network
Security Lab Team http://Hacking.CarcaBot.ro - Best Romanian Hacking Source

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus