Vulnerabilities > CVE-2009-4653 - Buffer Errors vulnerability in Novell Edirectory 8.8

047910
CVSS 9.0 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
SINGLE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
low complexity
novell
microsoft
CWE-119
critical
nessus
exploit available

Summary

Stack-based buffer overflow in the dhost module in Novell eDirectory 8.8 SP5 for Windows allows remote authenticated users to cause a denial of service (dhost.exe crash) and possibly execute arbitrary code via a long string to /dhost/modules?I:.

Vulnerable Configurations

Part Description Count
Application
Novell
1
OS
Microsoft
1

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Exploit-Db

descriptionNovell eDirectory 8.8 '/dhost/modules?I:' Buffer Overflow Vulnerability. CVE-2009-4653. Remote exploit for novell platform
idEDB-ID:33351
last seen2016-02-03
modified2009-11-12
published2009-11-12
reporterHACKATTACK
sourcehttps://www.exploit-db.com/download/33351/
titleNovell eDirectory 8.8 - '/dhost/modules?I:' Buffer Overflow Vulnerability

Nessus

NASL familyMisc.
NASL idEDIRECTORY_88SP5_PATCH4.NASL
descriptionThe remote host is running eDirectory, a directory service software from Novell. The installed version of this software is affected by one or more of the following vulnerabilities : - A denial of service vulnerability in NDSD when handling a malformed verb. (Bug 571244) - A stack-based buffer overflow in the dhost module for Windows. (Bug 588883) - A predictable session cookie in DHOST. (Bug 586854)
last seen2020-06-01
modified2020-06-02
plugin id47022
published2010-06-15
reporterThis script is Copyright (C) 2010-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/47022
titleNovell eDirectory < 8.8 SP5 Patch 4 Multiple Vulnerabilities
code
#
# (C) Tenable Network Security, Inc.
#

include('compat.inc');

if (description)
{
  script_id(47022);
  script_version("1.10");
  script_cvs_date("Date: 2018/11/15 20:50:23");

  script_cve_id("CVE-2009-4653");
  script_bugtraq_id(37009, 40541);
  script_xref(name:"Secunia", value:"40041");

  script_name(english:"Novell eDirectory < 8.8 SP5 Patch 4 Multiple Vulnerabilities");
  script_summary(english:"Checks version of eDirectory from an LDAP search");

  script_set_attribute(attribute:"synopsis", value:
"The remote directory service is affected by multiple
vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The remote host is running eDirectory, a directory service software
from Novell.  The installed version of this software is affected by
one or more of the following vulnerabilities :

  - A denial of service vulnerability in NDSD when handling
    a malformed verb. (Bug 571244)

  - A stack-based buffer overflow in the dhost module
    for Windows. (Bug 588883)

  - A predictable session cookie in DHOST. (Bug 586854)");

  script_set_attribute(attribute:"see_also", value:"https://support.microfocus.com/kb/doc.php?id=3426981");
  script_set_attribute(attribute:"see_also", value:"https://www.securityfocus.com/archive/1/507812/100/0/threaded");
  script_set_attribute(attribute:"solution", value:"Upgrade to eDirectory 8.8 SP5 Patch 4 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/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:"exploit_framework_core", value:"true");
  script_cwe_id(119);

  script_set_attribute(attribute:"vuln_publication_date", value:"2009/11/12");
  script_set_attribute(attribute:"patch_publication_date", value:"2010/06/03");
  script_set_attribute(attribute:"plugin_publication_date", value:"2010/06/15");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:novell:edirectory");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Misc.");

  script_copyright(english:"This script is Copyright (C) 2010-2018 Tenable Network Security, Inc.");
  script_dependencies("ldap_search.nasl");
  script_require_ports("Services/ldap", 389);

  exit(0);
}

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

ldap_port = get_service(svc:"ldap", default:389, exit_on_fail:TRUE);

edir_ldap = get_kb_item('LDAP/'+ldap_port+'/vendorVersion');
if (isnull(edir_ldap))
  exit(1,"The 'LDAP/"+ldap_port+"/vendorVersion' KB item is missing.");

if ("Novell eDirectory" >< edir_ldap)
{
  edir_product = strstr(edir_ldap,"Novell eDirectory");
  edir_product = edir_product - strstr(edir_product, "(");
}
else exit(0, "The remote directory service on port " + ldap_port + " does not appear to be from Novell.");

info = '';
if (
  ereg(pattern:'^LDAP Agent for Novell eDirectory ([0-7]\\.|8\\.[0-7]([^0-9]|$))', string:edir_ldap) ||
  ereg(pattern:'^LDAP Agent for Novell eDirectory 8.8 *\\(([0-9]+)\\.([0-9]+)\\)$', string:edir_ldap) ||
  ereg(pattern:'^LDAP Agent for Novell eDirectory 8.8 *SP[0-4] *\\(([0-9]+)\\.([0-9]+)\\)$', string:edir_ldap) 
) info = ' ' + edir_product + ' is installed on the remote host.' + '\n';
else if (ereg(pattern:'LDAP Agent for Novell eDirectory 8.8 SP5', string:edir_ldap))
{
  build = NULL;
  matches = eregmatch(pattern:'^LDAP Agent for Novell eDirectory 8.8 *SP5 *\\(([0-9]+)\\.([0-9]+)\\)$', string:edir_ldap);
  if (matches) build = matches[1];

  if (isnull(build) || int(build) < 20504)
    info = ' ' + edir_product + ' is installed on the remote host.' + '\n';
}
else exit(1, "Unknown Novell eDirectory version '" + edir_ldap + "' on port " + ldap_port + ".");

if (info)
{
  if (report_verbosity > 0)
  {
    report = '\n' + info;
    security_hole(port:ldap_port, extra:report);
  }
  else security_hole(ldap_port);
  exit(0);
}
else exit(0, edir_product + '  is listening on port ' + ldap_port + '  and is not affected.');