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

[原文]The setlocale function in FreeBSD 5.0 and earlier, and possibly other OSes, allows local users to read arbitrary files via the LANG environmental variable.

[CNNVD]FreeBSD setlocale函数漏洞(CNNVD-200012-032)

        FreeBSD 5.0及其早期版本和可能其他的操作系统的setlocale函数存在漏洞。本地用户借助LANG环境变量读取任意文件。

- 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

- 其它链接及资源

- 漏洞信息

FreeBSD setlocale函数漏洞
高危 未知
2000-12-11 00:00:00 2007-05-11 00:00:00
        FreeBSD 5.0及其早期版本和可能其他的操作系统的setlocale函数存在漏洞。本地用户借助LANG环境变量读取任意文件。

- 公告与补丁


- 漏洞信息

FreeBSD setlocale() Arbitrary Code Execution
Local Access Required Input Manipulation
Loss of Integrity

- 漏洞描述

FreeBSD contains a flaw that may allow a malicious user to gain access to unauthorized privileges. The issue is triggered when a malicious user misuses the setlocale() function by creating a file which is a valid locale file or message catalog but contains special formatting characters which may allow certain badly written privileged applications to be exploited to execute arbitrary code. This flaw may lead to 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().

- 相关参考

- 漏洞作者