发布时间 :1997-07-08 00:00:00
修订时间 :2008-09-09 08:33:59

[原文]websendmail in Webgais 1.0 allows a remote user to access arbitrary files and execute arbitrary code via the receiver parameter ($VAR_receiver variable).

[CNNVD]WEBgais websendmail远程执行命令漏洞(CNNVD-199707-020)

        Webgais 1.0版本中的websendmail存在漏洞。远程用户可以借助receiver参数($VAR_receiver变量)访问任意文件以及执行任意代码。

- CVSS (基础分值)

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

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


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


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

- 其它链接及资源
(UNKNOWN)  BID  2077

- 漏洞信息

WEBgais websendmail远程执行命令漏洞
中危 输入验证
1997-07-08 00:00:00 2006-11-16 00:00:00
        Webgais 1.0版本中的websendmail存在漏洞。远程用户可以借助receiver参数($VAR_receiver变量)访问任意文件以及执行任意代码。

- 公告与补丁

        Currently the SecurityFocus staff are not aware of any vendor supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at:

- 漏洞信息 (20483)

WEBgais 1.0 websendmail Remote Command Execution Vulnerability (EDBID:20483)
cgi remote
1997-07-04 Verified
0 Razvan Dragomirescu
N/A [点击下载]

WEBgais is a package that provides a web interface to the "gais" (Global Area Intelligent Search) search engine tool. This package contains a vulnerable script, websendmail, which can be used to execute arbitrary commands on the server with the privileges of the web server. User supplied data (from the "receiver=" form variable) is passed to a Perl OPEN function without proper input verification, allowing the use of shell metacharacters to separate commands. This can be directly exploited by submitting via the POST method the variable "receiver=" with the command separation shell metacharacter (;) followed by a command. Consequences could range from destruction of data and web site defacement to elevation of privileges through locally exploitable vulnerabilities. 

telnet 80
POST /cgi-bin/websendmail HTTP/1.0
Content-length: xxx (should be replaced with the actual length of the string passed to the server, in this case xxx=90)


- 漏洞信息

WebGais websendmail CGI Arbitrary Command Execution
Remote / Network Access Input Manipulation
Loss of Integrity
Exploit Public

- 漏洞描述

- 时间线

1997-07-04 Unknow
1997-07-04 Unknow

- 解决方案


Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete