CVE-2004-2640
CVSS5.0
发布时间 :2004-12-31 00:00:00
修订时间 :2008-09-05 16:44:42
NMCOE    

[原文]Directory traversal vulnerability in lstat.cgi in LinuxStat before 2.3.1 allows remote attackers to read arbitrary files via (1) .. (dot dot) sequences or (2) absolute paths to the template parameter.


[CNNVD]LinuxStat远程目录遍历漏洞(CNNVD-200412-925)

        LinuxStat 2.3.1之前版本的lstat.cgi存在目录遍历漏洞。远程攻击者可以借助(1)..(点 点)序列或(2)template参数的绝对路径来读取任意文件。

- CVSS (基础分值)

CVSS分值: 5 [中等(MEDIUM)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: NONE [不会对系统完整性产生影响]
可用性影响: NONE [对系统可用性无影响]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

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

产品及版本信息(CPE)暂不可用

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://xforce.iss.net/xforce/xfdb/17833
(PATCH)  XF  linuxstat-template-directory-traversal(17833)
http://www.securityfocus.com/bid/11517
(PATCH)  BID  11517
http://www.osvdb.org/11103
(PATCH)  OSVDB  11103
http://secunia.com/advisories/12963
(VENDOR_ADVISORY)  SECUNIA  12963
http://sourceforge.net/project/shownotes.php?release_id=277371
(UNKNOWN)  CONFIRM  http://sourceforge.net/project/shownotes.php?release_id=277371
http://securitytracker.com/id?1011920
(UNKNOWN)  SECTRACK  1011920

- 漏洞信息

LinuxStat远程目录遍历漏洞
中危 路径遍历
2004-12-31 00:00:00 2005-12-21 00:00:00
远程  
        LinuxStat 2.3.1之前版本的lstat.cgi存在目录遍历漏洞。远程攻击者可以借助(1)..(点 点)序列或(2)template参数的绝对路径来读取任意文件。

- 公告与补丁

        The vendor has released version 2.3.1 of the affected package to resolve this issue:
        Ryszard Pydo LinuxStat 2.0
        
        Ryszard Pydo LinuxStat 2.1
        
        Ryszard Pydo LinuxStat 2.2
        
        Ryszard Pydo LinuxStat 2.3
        

- 漏洞信息 (24703)

LinuxStat 2.x Remote Directory Traversal Vulnerability (EDBID:24703)
cgi webapps
2004-10-25 Verified
0 Anonymous
N/A [点击下载]
source: http://www.securityfocus.com/bid/11517/info

It is reported that LinuxStat is vulnerable to a directory traversal vulnerability. This issue is due to a failure of the application to properly sanitize user-supplied input.

By including '../' directory traversal sequences in the affected URI argument, attackers may reportedly cause the contents of arbitrary, potentially sensitive web-server readable files to be included in the output of the requested page. The resulting information disclosure may aid malicious users in further attacks.

Versions prior to 2.3.1 are reported to be affected by this vulnerability.

http://www.example.com/lstat/lstat.cgi?obj=wg104&template=../../../../../../../../etc/passwd&from=-1m&to=now		

- 漏洞信息

11103
LinuxStat lstat.cgi template Parameter Traversal Arbitrary File Access
Remote / Network Access Input Manipulation
Loss of Confidentiality
Exploit Public Vendor Verified

- 漏洞描述

LinuxStat contains a flaw that may lead to an unauthorized information disclosure. The issue is due to the template parameter of lstat.cgi not being properly validated, which allows the reading of arbitrary files, resulting in a loss of confidentiality.

- 时间线

2004-10-21 Unknow
2004-10-21 Unknow

- 解决方案

Upgrade to version 2.3.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(s): 1) Block access to computer statistics. 2) If "Username/Password" access to computer statistics is being used then a change of passwords is suggested. 3) Modify the Misc.pm file in the lib folder by adding the following line to it: $TemplateFile =~ s/\.\.//g; The above line should be placed in the vicinity of line 270, BEFORE the following code: open (FILE, "<$TemplateFile" ) || croak "Can't open template file $TemplateFile: $! \n"; my @content = <FILE>; #load content template into memory

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

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

版权声明

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