Vulnerabilities > CVE-2001-0838 - Remote Security vulnerability in Network Solutions Rwhoisd 1.5.X

047910
CVSS 7.5 - HIGH
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
PARTIAL
network
low complexity
network-solutions
nessus
exploit available

Summary

Format string vulnerability in Network Solutions Rwhoisd 1.5.x allows remote attackers to execute arbitrary code via format string specifiers in the -soa command.

Vulnerable Configurations

Part Description Count
Application
Network_Solutions
1

Exploit-Db

descriptionNSI Rwhoisd 1.5 Remote Format String Vulnerability. CVE-2001-0838. Remote exploit for unix platform
idEDB-ID:21128
last seen2016-02-02
modified2001-04-17
published2001-04-17
reporterCowPower
sourcehttps://www.exploit-db.com/download/21128/
titleNSI Rwhoisd 1.5 - Remote Format String Vulnerability

Nessus

NASL familyGain a shell remotely
NASL idRWHOIS_FORMAT_STRING.NASL
descriptionThe remote rwhois daemon is vulnerable to a format string attack when supplied malformed arguments to a
last seen2020-06-01
modified2020-06-02
plugin id10790
published2001-10-25
reporterThis script is Copyright (C) 2001-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/10790
titleNetwork Solutions Rwhoisd -soa Command Remote Format String
code
#
# (C) Tenable Network Security, Inc.
#


include("compat.inc");

if(description)
{
 script_id(10790);
 script_version ("1.16");
 script_cvs_date("Date: 2018/08/13 14:32:36");
 script_cve_id("CVE-2001-0838");
 
 script_name(english:"Network Solutions Rwhoisd -soa Command Remote Format String");
 
 script_set_attribute(attribute:"synopsis", value:
"Arbitrary code may be run on the remote server." );
 script_set_attribute(attribute:"description", value:
"The remote rwhois daemon is vulnerable to a format string
attack when supplied malformed arguments to a '-soa' request.

An attacker may use this flaw to gain a shell on this host." );
 script_set_attribute(attribute:"solution", value:
"Disable this service or upgrade to a patched version" );
 script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");


 script_set_attribute(attribute:"plugin_publication_date", value: "2001/10/25");
 script_set_attribute(attribute:"vuln_publication_date", value: "2001/10/25");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_end_attributes();

 script_summary(english: "Determines if rwhois is vulnerable to a format string attack");
 script_category(ACT_ATTACK);
 
 script_copyright(english:"This script is Copyright (C) 2001-2018 Tenable Network Security, Inc.");
 script_family(english: "Gain a shell remotely");
 script_dependencie("find_service1.nasl");
 script_require_ports("Services/rwhois", 4321);
 exit(0);
}

#
# The script code starts here
#

port = 4321;
if(get_port_state(port))
{
 soc = open_sock_tcp(port);
 if(soc)
 {
  r = recv(socket:soc, length:4096);
  send(socket:soc, data:string("-soa %p\r\n"));
  r = recv(socket:soc, length:4096);
  close(soc);
  if(egrep(pattern:"^%error 340 Invalid Authority Area: 0x.*", 
	  string:r))security_hole(4321);
 }
}