发布时间 :2004-12-31 00:00:00
修订时间 :2017-07-10 21:31:45

[原文]** DISPUTED ** Format string bug in the open_altfile function in filename.c for GNU less 382, 381, and 358 might allow local users to cause a denial of service or possibly execute arbitrary code via format strings in the LESSOPEN environment variable. NOTE: since less is not setuid or setgid, then this is not a vulnerability unless there are plausible scenarios under which privilege boundaries could be crossed.

[CNNVD]filename.c open_altfile格式化字符串漏洞(CNNVD-200412-138)

        用于GNU less382, 381,和358版本的 filename.c的open_altfile函数存在格式化字符串漏洞。本地用户可以借助LESSOPEN环境变量的格式化字符串导致服务拒绝或可能执行任意代码。

- CVSS (基础分值)

CVSS分值: 6.4 [中等(MEDIUM)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

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

cpe:/a:gnu:less:382GNU less 382
cpe:/a:gnu:less:358GNU less 358
cpe:/a:gnu:less:381GNU less 381

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


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

- 其它链接及资源
(UNKNOWN)  FULLDISC  20040818 gnu-less Format String Vulnerability
(UNKNOWN)  FULLDISC  20040818 Re: gnu-less Format String Vulnerability
(UNKNOWN)  XF  less-filename-format-string(17032)

- 漏洞信息

filename.c open_altfile格式化字符串漏洞
中危 格式化字符串
2004-12-31 00:00:00 2005-10-20 00:00:00
        用于GNU less382, 381,和358版本的 filename.c的open_altfile函数存在格式化字符串漏洞。本地用户可以借助LESSOPEN环境变量的格式化字符串导致服务拒绝或可能执行任意代码。

- 公告与补丁


- 漏洞信息

GNU less filename.c Remote Format String
Remote / Network Access, Local / Remote, Context Dependent Input Manipulation
Loss of Integrity

- 漏洞描述

The GNU less utility has been reported to contain a remotely exploitable format string condition. According to the report, the LESSOPEN environment in filename.c may allow an attacker to execute arbitrary commands remotely. Further examination revealed this is not the case.

- 时间线

2004-08-18 Unknow
Unknow Unknow

- 解决方案

The vulnerability reported is incorrect. No solution required.

- 相关参考

- 漏洞作者