Linux Minicom创建文件漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1105968 漏洞类型 未知
发布时间 2000-08-19 更新时间 2006-09-21
CVE编号 CVE-2000-0698 CNNVD-ID CNNVD-200010-087
漏洞平台 Linux CVSS评分 5.0
|漏洞来源
https://www.exploit-db.com/exploits/20160
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200010-087
|漏洞详情
Linux系统的Minicom1.82.1及其早期版本存在漏洞。本地用户可以借助符号链接攻击创建任意属于uucp用户的文件。
|漏洞EXP
source: http://www.securityfocus.com/bid/1599/info

Minicom is a unix terminal program often used for communication between computers with modems. It is often installed setgid uucp, as this access is required for regular users to use certain devices on the system. Through specifying a capture-file on the command line, a file can be created with effective gid uucp and thus owned by gid uucp. Where this is a serious concern is on systems using uucp -- critical files writeable by group uucp can be overwritten by exploiting this vulnerability leading to other problems. 

Note: One of the versions listed as vulnerable (1.83.1) has been reported as not being vulnerable as a FreeBSD port.

> @(#)Minicom V1.83.0 (compiled Mar 7 2000)(c) Miquel van Smoorenburg
> 
> [lcamtuf@nimue lcamtuf]$ minicom -C foo
> minicom: there is no global configuration file /etc/minirc.dfl
> Ask your sysadm to create one (with minicom -s).
> 
> [lcamtuf@nimue lcamtuf]$ ls -l foo
> -rw-rw-r-- 1 lcamtuf uucp 0 Aug 18 12:21 foo
> ^^ ^^^^
> 
> Any file can be created anywhere with uucp privledges - it will follow
> symlinks. Not nice on systems running uucp services.
>
|参考资料

来源:BID
名称:1599
链接:http://www.securityfocus.com/bid/1599
来源:BUGTRAQ
名称:20000819RH6.1/6.2minicomvulnerability
链接:http://www.securityfocus.com/archive/1/77361
来源:XF
名称:minicom-capture-groupown
链接:http://xforce.iss.net/static/5151.php