CVE-2000-0857
CVSS7.5
发布时间 :2000-11-14 00:00:00
修订时间 :2008-09-05 16:22:02
NMCOS    

[原文]The logging capability in muh 2.05d IRC server does not properly cleanse user-injected format strings, which allows remote attackers to cause a denial of service or execute arbitrary commands via a malformed nickname.


[CNNVD]muh IRC日志格式化字符串漏洞(CNNVD-200011-063)

        muh 2.05d IRC server的登录功能不正确清除user-injected格式化字符串,远程攻击者可以借助畸形昵称导致服务拒绝或执行任意命令。

- CVSS (基础分值)

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

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

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

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.securityfocus.com/bid/1665
(VENDOR_ADVISORY)  BID  1665
http://xforce.iss.net/static/5215.php
(UNKNOWN)  XF  muh-log-dos
http://archives.neohapsis.com/archives/bugtraq/2000-09/0068.html
(VENDOR_ADVISORY)  BUGTRAQ  20000909 Re: format string bug in muh
http://archives.neohapsis.com/archives/bugtraq/2000-09/0067.html
(VENDOR_ADVISORY)  BUGTRAQ  20000909 format string bug in muh

- 漏洞信息

muh IRC日志格式化字符串漏洞
高危 格式化字符串
2000-11-14 00:00:00 2005-10-20 00:00:00
远程  
        muh 2.05d IRC server的登录功能不正确清除user-injected格式化字符串,远程攻击者可以借助畸形昵称导致服务拒绝或执行任意命令。

- 公告与补丁

        Patch (from a BugTraq message by Kris Kennaway ):
        --- src/muh.c.orig Sun Mar 19 04:08:27 2000
        +++ src/muh.c Sat Sep 9 21:32:15 2000
        @@ -575,7 +575,7 @@
         if( strcmp( param2 + 2, "USERINFO\1" ) == 0 )
         irc_notice( &c_server, nick, USERINFOREPLY );
         if( strncmp( param2 + 2, "PING", 4 ) == 0 ) {
        - if( strlen( param2 + 1 ) > 6 ) irc_notice( &c_server, nick, param2 + 1 );
        + if( strlen( param2 + 1 ) > 6 ) irc_notice( &c_server, nick, "", param2 + 1 );
         }
         if( strcmp( param2 + 2, "CLIENTINFO\1" ) == 0 )
         irc_notice( &c_server, nick, CLIENTINFOREPLY );
        @@ -591,7 +591,7 @@
         }
         else { /* normale message/notice */
         if( !is_ignore( hostname, IGNORE_MESSAGE ) && status.allowreply ) {
        - if( cfg.awaynotice ) irc_notice( &c_server, nick, cfg.awaynotice );
        + if( cfg.awaynotice ) irc_notice( &c_server, nick, "", cfg.awaynotice );
         add_ignore( hostname, 120, IGNORE_MESSAGE );
         status.allowreply = 0;
         timers.reply = 0;
        @@ -841,7 +841,7 @@
         s = ( char * )malloc( 1024 );
         while( fgets( s, 1023, messagelog ) ) {
         if( s[ strlen( s ) - 1 ] == '\n' ) s[ strlen( s ) - 1 ] = 0;
        - irc_notice( &c_client, status.nickname, s );
        + irc_notice( &c_client, status.nickname, "", s );
         }
         FREESTRING( s );
        Vendor-Supplied Patch:
        The vendor is aware of the vulnerability as of September 11, 2000.
        According to the vendor's web page <
        http://mind.riot.org/muh/>, a patch will be released soon.
        FreeBSD:
        See advisory FreeBSD-SA-00:57 listed in Credit section.
        Sebastian Kienzl muh 2.0 5d
        

- 漏洞信息

11809
muh IRC Server Logging Capability Malformed Nickname Arbitrary Command Execution

- 漏洞描述

Unknown or Incomplete

- 时间线

2000-09-09 Unknow
Unknow Unknow

- 解决方案

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

muh IRC Log Format String Vulnerability
Input Validation Error 1665
Yes No
2000-09-09 12:00:00 2009-07-11 02:56:00
Discussed in a message posted to BugTraq on September 9, 2000 by Maxime Henrion <mux@qualys.com>.

- 受影响的程序版本

Sebastian Kienzl muh 2.0 5d

- 漏洞讨论

muh acts as a proxy between an irc client and server. To the irc server, the muh session appears as the irc client, and to the irc client, the muh session appears as an irc server.

One of muh's features is to log client messages if the client is disconnected.

Version 2.05 (and possibly earlier versions) are vulnerable to a format string bug which can be used to make muh crash if logged messages are replayed by the client. It is possible that this bug can also be exploited to execute arbitrary code with the privileges of the user running muh.

- 漏洞利用

Send a malicious format string to a user logging a session with muh. The format string will be interpreted when the user reviews the log with /muh read.

- 解决方案

Patch (from a BugTraq message by Kris Kennaway <kris@FreeBSD.org>):

--- src/muh.c.orig Sun Mar 19 04:08:27 2000
+++ src/muh.c Sat Sep 9 21:32:15 2000
@@ -575,7 +575,7 @@
if( strcmp( param2 + 2, "USERINFO\1" ) == 0 )
irc_notice( &c_server, nick, USERINFOREPLY );
if( strncmp( param2 + 2, "PING", 4 ) == 0 ) {
- if( strlen( param2 + 1 ) > 6 ) irc_notice( &c_server, nick, param2 + 1 );
+ if( strlen( param2 + 1 ) > 6 ) irc_notice( &c_server, nick, "%s", param2 + 1 );
}
if( strcmp( param2 + 2, "CLIENTINFO\1" ) == 0 )
irc_notice( &c_server, nick, CLIENTINFOREPLY );
@@ -591,7 +591,7 @@
}
else { /* normale message/notice */
if( !is_ignore( hostname, IGNORE_MESSAGE ) && status.allowreply ) {
- if( cfg.awaynotice ) irc_notice( &c_server, nick, cfg.awaynotice );
+ if( cfg.awaynotice ) irc_notice( &c_server, nick, "%s", cfg.awaynotice );
add_ignore( hostname, 120, IGNORE_MESSAGE );
status.allowreply = 0;
timers.reply = 0;
@@ -841,7 +841,7 @@
s = ( char * )malloc( 1024 );
while( fgets( s, 1023, messagelog ) ) {
if( s[ strlen( s ) - 1 ] == '\n' ) s[ strlen( s ) - 1 ] = 0;
- irc_notice( &c_client, status.nickname, s );
+ irc_notice( &c_client, status.nickname, "%s", s );
}
FREESTRING( s );

Vendor-Supplied Patch:
The vendor is aware of the vulnerability as of September 11, 2000.
According to the vendor's web page <http://mind.riot.org/muh/>, a patch will be released soon.

FreeBSD:

See advisory FreeBSD-SA-00:57 listed in Credit section.


Sebastian Kienzl muh 2.0 5d

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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