发布时间 :2004-12-31 00:00:00
修订时间 :2017-07-10 21:31:02

[原文]Tomcat before 5.0.27-r3 in Gentoo Linux sets the default permissions on the init scripts as tomcat:tomcat, but executes the scripts with root privileges, which could allow local users in the tomcat group to execute arbitrary commands as root by modifying the scripts.

[CNNVD]Gentoo Linux Tomcat Ebuild不安全安装权限漏洞(CNNVD-200412-772)

        Gentoo Linux下的Tomcat 5.0.27-r3之前的版本将初始化脚本默认权限设为tomcat:tomcat,但使用根权限执行该脚本,tomcat组群下的本地用户可以利用该漏洞像根用户样修改脚本执行任意命令。

- CVSS (基础分值)

CVSS分值: 7.2 [严重(HIGH)]
机密性影响: COMPLETE [完全的信息泄露导致所有系统文件暴露]
完整性影响: COMPLETE [系统完整性可被完全破坏]
可用性影响: COMPLETE [可能导致系统完全宕机]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: NONE [漏洞利用无需身份认证]

- CPE (受影响的平台与产品)

cpe:/o:gentoo:linux:1.4:rc2Gentoo Linux 1.4 rc2
cpe:/o:gentoo:linux:1.4:rc1Gentoo Linux 1.4 rc1
cpe:/o:gentoo:linux:1.4Gentoo Linux 1.4
cpe:/o:gentoo:linux:1.4:rc3Gentoo Linux 1.4 rc3
cpe:/o:gentoo:linux:1.2Gentoo Linux 1.2

- OVAL (用于检测的技术细节)


- 官方数据库链接
(官方数据源) MITRE
(官方数据源) NVD
(官方数据源) CNNVD

- 其它链接及资源
(PATCH)  GENTOO  GLSA-200408-15
(PATCH)  BID  10951
(UNKNOWN)  XF  gentoo-tomcat-gain-privileges(16993)

- 漏洞信息

Gentoo Linux Tomcat Ebuild不安全安装权限漏洞
高危 设计错误
2004-12-31 00:00:00 2005-10-20 00:00:00
        Gentoo Linux下的Tomcat 5.0.27-r3之前的版本将初始化脚本默认权限设为tomcat:tomcat,但使用根权限执行该脚本,tomcat组群下的本地用户可以利用该漏洞像根用户样修改脚本执行任意命令。

- 公告与补丁

        Gentoo has released advisory (GLSA 200408-15) and an updated eBuild to address this issue. Users may apply this update by executing the following commands as a superuser:
        emerge sync
        emerge -pv ">=net-www/tomcat-5.0.27-r3"
        emerge ">=net-www/tomcat-5.0.27-r3"

- 漏洞信息

Gentoo Tomcat Group Root Privilege Escalation
Local Access Required Misconfiguration
Loss of Integrity
Exploit Public

- 漏洞描述

Gentoo Linux tomcat ebuild contains a flaw that may allow a malicious user which is a member of the tomcat group to gain access to unauthorized privileges. The issue is triggered when the tomcat server scripts are executed with root privileges such as during normal boot process. These scripts are editable by members of the tomcat group. This flaw may lead to a loss of Integrity.

- 时间线

2004-08-02 Unknow
2004-08-02 Unknow

- 解决方案

Upgrade Gentoo tomcat ebuild to version tomcat-5.0.27-r3 or higher, as it has been reported to fix this vulnerability. It is also possible to correct the flaw by implementing the following workaround(s): change ownership of the files used by tomcat using the commands chown -R root:root /etc/init.d/tomcat* chown -R root:root /etc/conf.d/tomcat*

- 相关参考

- 漏洞作者