发布时间 :1997-01-01 00:00:00
修订时间 :2008-09-09 08:33:54

[原文]Buffer overflow in the win-c-sample program (win-c-sample.exe) in the WebSite web server 1.1e allows remote attackers to execute arbitrary code via a long query string.

[CNNVD]O'Reilly WebSite win-c-sample.exe程序远程缓冲区溢出漏洞(CNNVD-199701-025)

        O'Reilly WebSite (Pro)是一个Windows 平台下的Web服务器软件。
        1.1e版的Website for NT Web服务器在/cgi-shl/目录下包含了win-c-sample.exe程序。此程序有严重的缓冲区溢出漏洞,允许攻击者通过溢出攻击执行任意指令。由于WebSite通常运行在较高权限的帐号下,所以该漏洞导致的问题较严重。

- CVSS (基础分值)

CVSS分值: 7.5 [严重(HIGH)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: PARTIAL [可能会导致性能下降或中断资源访问]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

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


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


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

- 其它链接及资源
(UNKNOWN)  XF  http-website-winsample(295)
(UNKNOWN)  BID  2078
(UNKNOWN)  BUGTRAQ  19970106 Re: signal handling

- 漏洞信息

O'Reilly WebSite win-c-sample.exe程序远程缓冲区溢出漏洞
高危 输入验证
1997-01-01 00:00:00 2006-11-16 00:00:00
        O'Reilly WebSite (Pro)是一个Windows 平台下的Web服务器软件。
        1.1e版的Website for NT Web服务器在/cgi-shl/目录下包含了win-c-sample.exe程序。此程序有严重的缓冲区溢出漏洞,允许攻击者通过溢出攻击执行任意指令。由于WebSite通常运行在较高权限的帐号下,所以该漏洞导致的问题较严重。

- 公告与补丁

        * 暂时把win-c-sample.exe移出WEB目录。
        OReilly Software

- 漏洞信息 (20484)

OReilly WebSite 1.x/2.0 win-c-sample.exe Buffer Overflow Vulnerability (EDBID:20484)
windows dos
1997-01-06 Verified
0 Solar Designer
N/A [点击下载]

O'Reilly WebSite (Pro) is a Windows 95/NT Web Server package. Versions 2.0 and below contained a vulnerable sample script, win-c-sample.exe, placed by default in /cgi-shl/ off the web root directory. This program is vulnerable to a buffer overflow, allowing for execution of arbitrary commands on the host machine with the privileges of the web server. Consequences of successful exploitation could range from destruction of data and web site defacement to elevation of privileges through locally exploitable vulnerabilities. 

Windows NT (versions unspecified):

Windows 95:

The example dos commands just copy the WebSite's readme.1st file, so you
can later check if the exploit worked by trying
Note that the server should respond to these exploits with an "Error: no
blank line separating header and data", because of the "1 file(s) copied"
message appearing without a blank line before it (which is required for
HTTP; if you need a command's output, you can redirect it to a file, and
get that file via HTTP with a separate request). 		

- 漏洞信息

O'Reilly WebSite win-c-sample Remote Overflow
Remote / Network Access Input Manipulation
Loss of Integrity
Exploit Public

- 漏洞描述

O'Reilly WebSite contains a flaw that may allow a remote attacker to execute arbitrary code. The issue is due to the 'win-c-sample' program containing a remote overflow. The program fails to validate unspecified user-supplied input resulting in a buffer overflow. With a specially crafted request, an attacker can execute custom code under the privileges of the web server process.

- 时间线

1997-01-06 Unknow
1997-01-06 Unknow

- 解决方案

Upgrade to version 2.5 or higher, as it has been reported to fix this vulnerability. It is also possible to correct the flaw by implementing the following workaround: remove the win-c-sample program from the web server Note: This product has been discontinued. See vendor URL for additional details.

- 相关参考

- 漏洞作者