CVE-2002-1669
CVSS2.1
发布时间 :2002-12-31 00:00:00
修订时间 :2008-09-05 16:31:12
NMCO    

[原文]pkg_add in FreeBSD 4.2 through 4.4 creates a temporary directory with world-searchable permissions, which may allow local users to modify world-writable parts of the package during installation.


[CNNVD]FreeBSD Package添加不安全临时文件目录创建漏洞(CNNVD-200212-456)

        FreeBSD 4.2至4.4版本的pkg_add创建具有全域可搜索权限的临时目录,本地用户利用该漏洞在安装期间修改包的全域可写部分。

- CVSS (基础分值)

CVSS分值: 2.1 [轻微(LOW)]
机密性影响: NONE [对系统的机密性无影响]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: NONE [对系统可用性无影响]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: NONE [漏洞利用无需身份认证]

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

cpe:/o:freebsd:freebsd:4.2FreeBSD 4.2
cpe:/o:freebsd:freebsd:4.4FreeBSD 4.4
cpe:/o:freebsd:freebsd:4.3FreeBSD 4.3

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://xforce.iss.net/xforce/xfdb/7852
(PATCH)  XF  freebsd-pkgadd-insecure-directory(7852)
http://www.securityfocus.com/bid/3819
(PATCH)  BID  3819
ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-02:01.pkg_add.asc
(VENDOR_ADVISORY)  FREEBSD  FreeBSD-SA-02:01

- 漏洞信息

FreeBSD Package添加不安全临时文件目录创建漏洞
低危 访问验证错误
2002-12-31 00:00:00 2005-10-20 00:00:00
本地  
        FreeBSD 4.2至4.4版本的pkg_add创建具有全域可搜索权限的临时目录,本地用户利用该漏洞在安装期间修改包的全域可写部分。

- 公告与补丁

        Fixes available:
        FreeBSD FreeBSD 4.2
        
        FreeBSD FreeBSD 4.3
        
        FreeBSD FreeBSD 4.4
        

- 漏洞信息

20829
FreeBSD pkg_add Temp Directory Permission Weakness
Local Access Required Misconfiguration
Loss of Integrity
Exploit Public

- 漏洞描述

FreeBSD contains a flaw that may allow a malicious user to gain access to unauthorized privileges. The issue is triggered when pkg_add extracts the contents of a package to a temporary directory in /var/tmp with world writable permissions. This flaw may lead to a loss of integrity.

- 时间线

2002-01-04 Unknow
2002-01-04 Unknow

- 解决方案

Upgrade to version 4.4-STABLE, or the RELENG_4_4 or RELENG_4_3 security branches dated after the respective correction dates, as it has been reported to fix this vulnerability. In addition, FreeBSD has released a patch for some older versions. It is also possible to correct the flaw by implementing the following workaround: create a secure temporary directory (such as /var/tmp/inst) and secure the directory permissions (chmod 700 /var/tmp/inst). Set the TMPDIR environment variable to this directory before running pkg_add.

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

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

版权声明

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