发布时间 :2000-12-11 00:00:00
修订时间 :2008-09-05 16:22:25

[原文]Buffer overflow in catopen() function in FreeBSD 5.0 and earlier, and possibly other OSes, allows local users to gain root privileges via a long environmental variable.

[CNNVD]FreeBSD catopen()函数缓冲区溢出漏洞(CNNVD-200012-027)

        FreeBSD 5.0及其早期版本和可能其他的操作系统的catopen()函数存在缓冲区溢出漏洞。本地用户借助超长环境变量提升根特权。

- CVSS (基础分值)

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

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

cpe:/o:freebsd:freebsd:4.2FreeBSD 4.2
cpe:/o:freebsd:freebsd:3.1FreeBSD 3.1
cpe:/o:freebsd:freebsd:3.4FreeBSD 3.4
cpe:/o:freebsd:freebsd:3.2FreeBSD 3.2
cpe:/o:freebsd:freebsd:4.1.1FreeBSD 4.1.1
cpe:/o:freebsd:freebsd:3.0FreeBSD 3.0
cpe:/o:freebsd:freebsd:5.0FreeBSD 5.0
cpe:/o:freebsd:freebsd:3.5.1FreeBSD 3.5.1
cpe:/o:freebsd:freebsd:3.5FreeBSD 3.5
cpe:/o:freebsd:freebsd:3.3FreeBSD 3.3
cpe:/o:freebsd:freebsd:4.0FreeBSD 4.0
cpe:/o:freebsd:freebsd:4.1FreeBSD 4.1

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


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

- 其它链接及资源
(UNKNOWN)  XF  freebsd-catopen-bo

- 漏洞信息

FreeBSD catopen()函数缓冲区溢出漏洞
高危 缓冲区溢出
2000-12-11 00:00:00 2007-05-11 00:00:00
        FreeBSD 5.0及其早期版本和可能其他的操作系统的catopen()函数存在缓冲区溢出漏洞。本地用户借助超长环境变量提升根特权。

- 公告与补丁


- 漏洞信息

FreeBSD catopen() Local Overflow
Local Access Required Input Manipulation
Loss of Integrity

- 漏洞描述

A local overflow exists in FreeBSD. The catopen() function fails to check bounds of an internal buffer which could be indirectly overflowed by the setting of an environment variable. With a specially crafted request, a privileged application which uses catopen() could be made to execute arbitrary code by an unprivileged local user resulting in a loss of integrity.

- 时间线

2000-09-27 Unknow
Unknow Unknow

- 解决方案

Upgrade to version FreeBSD 4.1-STABLE or 3.5-STABLE after the correction date or later, or patch your present system source code and rebuild, as it has been reported to fix this vulnerability. It is also possible to correct the flaw by implementing the following workaround(s): (1) download the '' and '' scripts provided by FreeBSD using the fetch command, (2) verify their md5 checksums, (3) run the script, and (4) remove any binaries found that make use of the exploitable function catopen().

- 相关参考

- 漏洞作者

Unknown or Incomplete