发布时间 :2002-12-31 00:00:00
修订时间 :2008-09-05 16:32:42

[原文]ftpd in NetBSD 1.5 through 1.5.3 and 1.6 does not properly quote a digit in response to a STAT command for a filename that contains a carriage return followed by a digit, which can cause firewalls and other intermediary devices to lose proper track of the FTP session.

[CNNVD]NetBSD ftpd失去正确FTP会话轨道漏洞(CNNVD-200212-870)

        从NetBSD 1.5到 1.5.3版本以及1.6版本中ftpd不能正确引用数字来为包含以数字结尾的回车文件名回应STAT命令。该漏洞导致防火墙和其他中间设备失去正确的FTP会话轨道。

- CVSS (基础分值)

CVSS分值: 5 [中等(MEDIUM)]
机密性影响: NONE [对系统的机密性无影响]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: NONE [对系统可用性无影响]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: NETWORK [攻击者不需要获取内网访问权或本地访问权]
身份认证: NONE [漏洞利用无需身份认证]

- CWE (弱点类目)

CWE-189 [数值错误]

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

cpe:/a:netbsd:ftpd:1.6NetBSD ftpd 1.6
cpe:/a:netbsd:ftpd:1.5NetBSD ftpd 1.5
cpe:/a:netbsd:ftpd:1.5.2NetBSD ftpd 1.5.2
cpe:/a:netbsd:ftpd:1.5.3NetBSD ftpd 1.5.3
cpe:/a:netbsd:ftpd:1.5.1NetBSD ftpd 1.5.1

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


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

- 其它链接及资源

- 漏洞信息

NetBSD ftpd失去正确FTP会话轨道漏洞
中危 未知
2002-12-31 00:00:00 2002-12-31 00:00:00
        从NetBSD 1.5到 1.5.3版本以及1.6版本中ftpd不能正确引用数字来为包含以数字结尾的回车文件名回应STAT命令。该漏洞导致防火墙和其他中间设备失去正确的FTP会话轨道。

- 公告与补丁


- 漏洞信息

NetBSD ftpd STAT Command Firewall State Table Corruption DoS
Remote / Network Access Denial of Service, Input Manipulation
Loss of Integrity, Loss of Availability

- 漏洞描述

NetBSD contains a flaw that may allow a malicious attacker to corrupt state tables in intermediate firewall devices via the STAT command in ftpd. The issue is triggered when a filename that contains "\n[0-9]" is specified. It is possible that the flaw may result in a loss of integrity and/or availability.

- 时间线

2002-11-20 Unknow
Unknow Unknow

- 解决方案

Upgrade to version 1.6.1 or higher, as it has been reported to fix this vulnerability. It is also possible to correct the flaw by implementing the following workaround: update the source in libexec/ftp using CVS and compile a new ftpd binary.

- 相关参考

- 漏洞作者