CVE-2001-0248
CVSS10.0
发布时间 :2001-06-18 00:00:00
修订时间 :2008-09-10 15:07:35
NMCOS    

[原文]Buffer overflow in FTP server in HPUX 11 allows remote attackers to execute arbitrary commands by creating a long pathname and calling the STAT command, which uses glob to generate long strings.


[CNNVD]HPUX ftpd glob() 扩展堆栈溢出漏洞(CNNVD-200106-084)

        CVE(CAN) ID: CAN-2001-0248
        
        
        
        很多系统的FTPD守护程序包含一个glob()函数,它实现文件名的模式匹配,它遵
        
        循与Unix shell同样的原则。
        
        
        
        当一个FTP守护程序收到一个请求,它包含一个以'~'号开头的文件名,它通常会
        
        将整个文件名交给glob()函数去处理,以解析特定的home目录并获得一个全路径。
        
        这可能导致一个非常大的字符串被传回给主处理程序。
        
        
        
        当使用STAT命令时,HPUX可能会触发一个基于堆栈的缓冲区溢出漏洞
        
        
        
        
        
        

- CVSS (基础分值)

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

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

cpe:/o:hp:hp-ux:10.30HP HP-UX 10.30
cpe:/o:hp:hp-ux:11.00HP-UX 11.00
cpe:/o:hp:hp-ux:10.10HP HP-UX 10.10
cpe:/o:hp:hp-ux:10.20HP HP-UX 10.20
cpe:/o:hp:hp-ux:10.00HP HP-UX 10.00

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.cert.org/advisories/CA-2001-07.html
(VENDOR_ADVISORY)  CERT  CA-2001-07
http://www.securityfocus.com/bid/2552
(VENDOR_ADVISORY)  BID  2552
http://xforce.iss.net/static/6332.php
(UNKNOWN)  XF  ftp-glob-expansion(6332)
http://www.nai.com/research/covert/advisories/048.asp
(UNKNOWN)  NAI  20010409 Globbing Vulnerabilities in Multiple FTP Daemons

- 漏洞信息

HPUX ftpd glob() 扩展堆栈溢出漏洞
危急 边界条件错误
2001-06-18 00:00:00 2005-10-20 00:00:00
远程  
        CVE(CAN) ID: CAN-2001-0248
        
        
        
        很多系统的FTPD守护程序包含一个glob()函数,它实现文件名的模式匹配,它遵
        
        循与Unix shell同样的原则。
        
        
        
        当一个FTP守护程序收到一个请求,它包含一个以'~'号开头的文件名,它通常会
        
        将整个文件名交给glob()函数去处理,以解析特定的home目录并获得一个全路径。
        
        这可能导致一个非常大的字符串被传回给主处理程序。
        
        
        
        当使用STAT命令时,HPUX可能会触发一个基于堆栈的缓冲区溢出漏洞
        
        
        
        
        
        

- 公告与补丁

        
        
        临时解决方法:
        
        
        
        如果您不需要FTP服务,请暂时关闭FTP. 禁止匿名用户登录或拥有可写目录。
        
        
        
        厂商补丁:
        
        暂无
        

- 漏洞信息

13838
HP-UX FTP Server STAT Command Pathname Glob Arbitrary Command Execution
Remote / Network Access Input Manipulation
Loss of Integrity Workaround, Patch / RCS, Upgrade
Vendor Verified

- 漏洞描述

- 时间线

2001-04-09 Unknow
Unknow Unknow

- 解决方案

Products

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

HP-UX ftpd glob() Expansion STAT Buffer Overflow Vulnerability
Boundary Condition Error 2552
Yes No
2001-04-09 12:00:00 2009-07-11 06:06:00
This vulnerability was discovered by Anthony Osborne and John McDonald of NAI's COVERT labs and published on April 9, 2001.

- 受影响的程序版本

HP HP-UX (VVOS) 11.0.4
HP HP-UX (VVOS) 10.24
HP HP-UX 11.0
HP HP-UX 10.30
HP HP-UX 10.20
HP HP-UX 10.10
HP HP-UX 10.0 1
HP HP-UX 10.0

- 漏洞讨论

Hewlett Packard's HP-UX ftp daemon contains a stack-based buffer overflow condition. The overflow occurs when the STAT command is issued with an argument that expands into an oversized string after being processed by glob().

It may be possible for attackers to exploit this vulnerability and execute arbitrary code on the affected host. This could be accomplished in a typical buffer overflow manner, by replacing a function return address with a value pointing to supplied shellcode.

To exploit this, the attacker must be able to create directories on the target host.

- 漏洞利用

Currently the SecurityFocus staff are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: vuldb@securityfocus.com <mailto:vuldb@securityfocus.com>.

- 解决方案

HP has released fixes and an advisory.


HP HP-UX 10.0 1

HP HP-UX 10.10

HP HP-UX 10.20

HP HP-UX (VVOS) 10.24
  • HP PHNE_24394


HP HP-UX 11.0

HP HP-UX (VVOS) 11.0.4
  • HP PHNE_24395

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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