发布时间 :2001-07-22 00:00:00
修订时间 :2008-09-05 16:25:27

[原文]Directory traversal vulnerability in pagecount CGI script in Sambar Server before 5.0 beta 5 allows remote attackers to overwrite arbitrary files via a .. (dot dot) attack on the page parameter.

[CNNVD]Sambar Server pagecount CGI script文件覆盖漏洞(CNNVD-200107-166)

        Sambar Server 5.0 beta 5之前版本的pagecount CGI script存在目录遍历漏洞。远程攻击者可以借助page参数的..(点 点)攻击覆盖任意文件。

- CVSS (基础分值)

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

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

cpe:/a:sambar:sambar_server:4.4Sambar Sambar Server 4.4 production
cpe:/a:sambar:sambar_server:5.0:beta1Sambar Sambar Server 5.0 beta1
cpe:/a:sambar:sambar_server:5.0:beta2Sambar Sambar Server 5.0 beta2
cpe:/a:sambar:sambar_server:5.0:beta4Sambar Sambar Server 5.0 beta4
cpe:/a:sambar:sambar_server:5.0:beta3Sambar Sambar Server 5.0 beta3

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


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

- 其它链接及资源
(VENDOR_ADVISORY)  XF  sambar-pagecount-overwrite-files(6916)
(VENDOR_ADVISORY)  BUGTRAQ  20010721 Sambar Web Server pagecount exploit code

- 漏洞信息

Sambar Server pagecount CGI script文件覆盖漏洞
中危 路径遍历
2001-07-22 00:00:00 2005-05-02 00:00:00
        Sambar Server 5.0 beta 5之前版本的pagecount CGI script存在目录遍历漏洞。远程攻击者可以借助page参数的..(点 点)攻击覆盖任意文件。

- 公告与补丁


- 漏洞信息 (21026)

Sambar Server 4.4/5.0 pagecount File Overwrite Vulnerability (EDBID:21026)
multiple remote
2001-07-22 Verified
0 kyprizel
N/A [点击下载]

Sambar Server is a multi-threaded HTTP server for Microsoft Windows and Unix systems.

Sambar WWW Server is bundled with a sample script('pagecount') which creates temporary files on the host. However, it is possible for a remote attacker to craft a web request which will cause pagecount to overwrite existing files. Files attacked in this manner will be corrupted.

Loss of critical data and a denial of services may occur if system files are overwritten.

http://sambarserver/session/pagecount?page=index will create a file in Sambar temp directory with name 'index'

http://sambarserver/session/pagecount?page=../../../../../../autoexec.bat then the script will rewrite the first symbols of c:\autoexec.bat with it's number.

So we are able to add some text to any file on the disk.		

- 漏洞信息

Sambar Web Server pagecount CGI Traversal Arbitrary File Overwrite
Remote / Network Access Input Manipulation
Loss of Availability
Exploit Public

- 漏洞描述

- 时间线

2001-07-21 Unknow
2001-07-21 Unknow

- 解决方案


Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete