Lucene search
+L

FakeBO NetBus Handling Code Remote Overflow

🗓️ 22 Jun 1999 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 54 Views

Remote buffer overflow vulnerability in FakeBO NetBus allows exploitation by attackers.

Refs
Code
#
# (C) Tenable Network Security, Inc.
#

# Script audit and contributions from Carmichael Security
#      Erik Anderson <[email protected]> (nb: this domain no longer exists)
#      Added link to the Bugtraq message archive
#


include("compat.inc");


if(description)
{
 script_id(10066);
 script_version ("1.32");

 script_name(english:"FakeBO NetBus Handling Code Remote Overflow");
 script_summary(english:"Overflows FakeBO's buffers");

 script_set_attribute(attribute:"synopsis", value:
"The remote honeypot service has a stack-based buffer overflow
vulnerability." );
 script_set_attribute(attribute:"description", value:
"The remote host appears to be running FakeBO, a service that mimics
backdoors such as Back Orifice and NetBus, monitoring any login
attempts.

The version of FakeBO running on the remote host has a remote stack-
based buffer overflow vulnerability.  A remote attacker could exploit
this to crash the service, or execute arbitrary code." );
 script_set_attribute(
   attribute:"see_also",
   value:"https://seclists.org/bugtraq/1999/Feb/183"
 );
 script_set_attribute(
   attribute:"solution",
   value:"Disable this service."
 );
 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: "1999/06/22");
 script_set_attribute(attribute:"vuln_publication_date", value: "1999/02/11");
 script_cvs_date("Date: 2018/11/15 20:50:22");
 script_set_attribute(attribute:"plugin_type", value:"remote");
 script_end_attributes();

 script_category(ACT_MIXED_ATTACK); # mixed
 script_family(english:"Gain a shell remotely");

 script_copyright(english:"This script is Copyright (C) 1999-2018 Tenable Network Security, Inc.");

 script_dependencie("find_service1.nasl");
 script_require_ports("Services/netbus", 12345);

 exit(0);
}

#
# The script code starts here
#

port = get_kb_item("Services/netbus");
if(!port)port = 12345;
if(get_port_state(port))
{
 soc = open_sock_tcp(port);
 if(soc)
 { 
  a = recv_line(socket:soc, length:1024);
  if("NetBus" >< a)
  { 
   if(safe_checks())
   {
    report = string(
      "\n",
      "*** Nessus detected this vulnerability solely by\n",
      "*** looking at the banner of the remote service.\n"
    );
    security_hole(port:port, extra:report);
    exit(0);
   }
   s = crap(5001);
   send(socket:soc, data:s);
   close(soc);
   
   flaw = 0;
   soc2 = open_sock_tcp(port);
   if(!soc2)flaw = 1;
   else
   {
    d = recv(socket:soc2, length:1024);
    if(!d)flaw = 1;
    close(soc2);
   }
   
   if(flaw)security_hole(port);
  }
 }
}

Data

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