Novell eDirectory Server iMonitor Multiple Remote Overflows - Nessus

Critical   Plugin ID: 19428

This page contains detailed information about the Novell eDirectory Server iMonitor Multiple Remote Overflows Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 19428
Name: Novell eDirectory Server iMonitor Multiple Remote Overflows
Filename: edirectory_imonitor_overflow.nasl
Vulnerability Published: 2005-08-11
This Plugin Published: 2005-08-12
Last Modification Time: 2018-07-10
Plugin Version: 1.19
Plugin Type: remote
Plugin Family: Gain a shell remotely
Dependencies: http_version.nasl

Vulnerability Information


Severity: Critical
Vulnerability Published: 2005-08-11
Patch Published: N/A
CVE [?]: CVE-2005-2551, CVE-2006-2496
CPE [?]: cpe:/a:novell:edirectory

Synopsis

The remote web server is affected by a buffer overflow vulnerability.

Description

The remote host is running a version of eDirectory iMonitor that is vulnerable to a remote buffer overflow. An attacker may exploit this flaw to execute arbitrary code on the remote host or to disable this service remotely.

To exploit this flaw, an attacker would need to send a specially crafted packet to the remote service.

Solution

http://support.novell.com/cgi-bin/search/searchtid.cgi?/10098568.htm http://www.zerodayinitiative.com/advisories/ZDI-06-016.html http://support.novell.com/cgi-bin/search/searchtid.cgi?/2973759.htm

Public Exploits


Target Network Port(s): 8008, 8010, 8028, 8030
Target Asset(s): Services/www
Exploit Available: True (Metasploit Framework, Exploit-DB)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the Novell eDirectory Server iMonitor Multiple Remote Overflows vulnerability:

  1. Metasploit: exploit/windows/http/edirectory_imonitor
    [eDirectory 8.7.3 iMonitor Remote Stack Buffer Overflow]
  2. Exploit-DB: exploits/windows/remote/1152.pm
    [EDB-1152: Novell eDirectory 8.7.3 - iMonitor Remote Stack Overflow (Metasploit)]
  3. Exploit-DB: exploits/windows/remote/16769.rb
    [EDB-16769: eDirectory 8.7.3 - iMonitor Remote Stack Buffer Overflow (Metasploit)]

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS V2 Vector [?]: AV:N/AC:L/Au:N/C:C/I:C/A:C/E:F/RL:OF/RC:C
CVSS Base Score:10.0 (High)
Impact Subscore:10.0
Exploitability Subscore:10.0
CVSS Temporal Score:8.3 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:8.3 (High)

Go back to menu.

Plugin Source


This is the edirectory_imonitor_overflow.nasl nessus plugin source code. This script is Copyright (C) 2005-2018 Tenable Network Security, Inc.

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

include("compat.inc");

if (description)
{
 script_id(19428);
 script_version("1.19");
 script_cvs_date("Date: 2018/07/10 14:27:33");

 script_cve_id("CVE-2005-2551", "CVE-2006-2496");
 script_bugtraq_id(14548, 18026);

 script_name(english:"Novell eDirectory Server iMonitor Multiple Remote Overflows");
 script_summary(english:"Checks for a buffer overflow in eDirectory iMonitor");
 
 script_set_attribute(attribute:"synopsis", value:
"The remote web server is affected by a buffer overflow vulnerability.");
 script_set_attribute(attribute:"description", value:
"The remote host is running a version of eDirectory iMonitor that is
vulnerable to a remote buffer overflow.  An attacker may exploit this
flaw to execute arbitrary code on the remote host or to disable this
service remotely. 

To exploit this flaw, an attacker would need to send a specially
crafted packet to the remote service.");
 script_set_attribute(attribute:"solution", value:
"http://support.novell.com/cgi-bin/search/searchtid.cgi?/10098568.htm
http://www.zerodayinitiative.com/advisories/ZDI-06-016.html
http://support.novell.com/cgi-bin/search/searchtid.cgi?/2973759.htm");
 script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
 script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
 script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
 script_set_attribute(attribute:"exploit_available", value:"true");
 script_set_attribute(attribute:"metasploit_name", value:'eDirectory 8.7.3 iMonitor Remote Stack Buffer Overflow');
 script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");

 script_set_attribute(attribute:"plugin_publication_date", value: "2005/08/12");
 script_set_attribute(attribute:"vuln_publication_date", value: "2005/08/11");

 script_set_attribute(attribute:"plugin_type", value:"remote");
 script_set_attribute(attribute:"cpe", value:"cpe:/a:novell:edirectory");
 script_end_attributes();
 
 script_category(ACT_DENIAL);
 script_copyright(english:"This script is Copyright (C) 2005-2018 Tenable Network Security, Inc.");
 script_family(english:"Gain a shell remotely");

 script_dependencie("http_version.nasl");
 script_require_ports("Services/www", 8008, 8010, 8028, 8030);
 exit(0);
}

# Check starts here

include("global_settings.inc");
include("misc_func.inc");
include("http.inc");


port = get_http_port(default:8008, embedded:TRUE);
banner = get_http_banner (port:port);
if (! egrep(pattern:"Server: .*HttpStk/[0-9]+\.[0-9]+", string:banner))
  exit(0, "The web server on port "+port+" is not eDirectory iMonitor.");

 if (http_is_dead(port:port))
   exit(1, "The web server on port "+port+" is already dead.");

w = http_send_recv3(method:"GET",item:"/nds/" + crap(data:"A", length:0x1500), port:port,
  exit_on_fail: 0);

if (http_is_dead(port:port, retry: 3))
   security_hole(port);

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/edirectory_imonitor_overflow.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\edirectory_imonitor_overflow.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/edirectory_imonitor_overflow.nasl

Go back to menu.

How to Run


Here is how to run the Novell eDirectory Server iMonitor Multiple Remote Overflows as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select Gain a shell remotely plugin family.
  6. On the right side table select Novell eDirectory Server iMonitor Multiple Remote Overflows plugin ID 19428.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl edirectory_imonitor_overflow.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a edirectory_imonitor_overflow.nasl -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - edirectory_imonitor_overflow.nasl -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state edirectory_imonitor_overflow.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: See also: Similar and related Nessus plugins:
  • 61709 - Novell eDirectory < 8.8 SP6 Patch 5 Multiple Vulnerabilities
  • 63338 - Novell eDirectory 8.8.x Multiple Security Vulnerabilities
  • 22903 - Novell eDirectory iMonitor HTTP Protocol Stack (httpstk) Host HTTP Header Remote Overflow
  • 31863 - Novell eDirectory Host Environment Service (dhost.exe) HTTP Connection Header DoS
  • 25084 - Novell Groupwise WebAccess GWINTER.EXE Base64 Decoding Remote Overflow
  • 21243 - Novell GroupWise Messenger Accept Language Remote Overflow
  • 62026 - Novell File Reporter Agent XML Parsing Remote Code Execution
  • 55544 - Novell File Reporter Engine RECORD Element Tag Parsing Overflow (uncredentialed check)
  • 20318 - Novell NetMail IMAP Agent Long Verb Arguments Remote Overflow
  • 18524 - Novell ZENworks Multiple Remote Pre-Authentication Overflows
  • 44875 - trixbox Cisco Phone Services PhoneDirectory.php ID Parameter SQL Injection

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file edirectory_imonitor_overflow.nasl version 1.19. For more plugins, visit the Nessus Plugin Library.

Go back to menu.