Vulnerabilities > CVE-2009-1636 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in Novell Groupwise

047910
CVSS 10.0 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
low complexity
novell
CWE-119
critical
nessus

Summary

Multiple buffer overflows in the Internet Agent (aka GWIA) component in Novell GroupWise 7.x before 7.03 HP3 and 8.x before 8.0 HP2 allow remote attackers to execute arbitrary code via (1) a crafted e-mail address in an SMTP session or (2) an SMTP command.

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.

Nessus

NASL familyWindows
NASL idGROUPWISE_IA_MULTIPLE_OVERFLOWS.NASL
descriptionA vulnerable version of GroupWise Internet Agent is running on the remote host. The software contains unspecified buffer overflow vulnerabilities that are triggered when processing email addresses and other specially crafted SMTP requests. This could allow a remote attacker to crash the service or execute arbitrary code as SYSTEM.
last seen2020-06-01
modified2020-06-02
plugin id38972
published2009-06-01
reporterThis script is Copyright (C) 2009-2018 and is owned by Tenable, Inc. or an Affiliate thereof.
sourcehttps://www.tenable.com/plugins/nessus/38972
titleNovell GroupWise Internet Agent < 7.03 HP3 / 8.0 HP2 Multiple Buffer Overflows
code
#
# (C) Tenable Network Security, Inc.
#


include("compat.inc");


if (description)
{
  script_id(38972);
  script_version("1.11");

  script_cve_id("CVE-2009-1636");
  script_bugtraq_id(35064, 35065);

  script_name(english:"Novell GroupWise Internet Agent < 7.03 HP3 / 8.0 HP2 Multiple Buffer Overflows");
  script_summary(english:"Does a local check for the version of gwia.exe");

  script_set_attribute(attribute:"synopsis", value:
"The SMTP server running on the remote Windows host has multiple
buffer overflow vulnerabilities."  );
  script_set_attribute( attribute:"description", value:
"A vulnerable version of GroupWise Internet Agent is running on the
remote host.  The software contains unspecified buffer overflow
vulnerabilities that are triggered when processing email addresses
and other specially crafted SMTP requests.

This could allow a remote attacker to crash the service or execute
arbitrary code as SYSTEM."  );
  # https://support.microfocus.com/kb/doc.php?id=7003272
  script_set_attribute(
    attribute:"see_also",
    value:"http://www.nessus.org/u?422158ab"
  );
  # https://support.microfocus.com/kb/doc.php?id=7003273
  script_set_attribute(
    attribute:"see_also",
    value:"http://www.nessus.org/u?77140f4e"
  );
  script_set_attribute(
    attribute:"solution",
    value:"Upgrade to Novell GroupWise version 7.03 HP3 / 8.0 HP2 or later."
  );
  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:U/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");
 script_cwe_id(119);
 script_set_attribute(attribute:"plugin_publication_date", value: "2009/06/01");
 script_cvs_date("Date: 2018/11/15 20:50:27");
  script_set_attribute(attribute:"plugin_type", value:"local");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows");

  script_copyright(english:"This script is Copyright (C) 2009-2018 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("groupwise_ia_detect.nasl", "smb_enum_services.nasl");
  script_require_keys("SMB/GWIA/Version");
 
  exit(0);
}


include("global_settings.inc");


version = get_kb_item("SMB/GWIA/Version");
if (isnull(version)) exit(0);

ver_fields = split(version, sep:'.', keep:FALSE);
major = ver_fields[0];
minor = ver_fields[1];
build = ver_fields[2];
revision = ver_fields[3];

# First, see if the version is vulnerable (< 8.0.0.7328, < 7.0.3.1401)
if (
  (major == 8 && minor == 0 && build == 0 && revision < 7328) ||
  (major == 7 && minor == 0 && (build < 3 || (build == 3 && revision < 1401)))
)
  vulnerable = TRUE;
else
  vulnerable = FALSE;

if (!vulnerable) exit(0);

# Make sure the service is running, unless we're paranoid
if (report_paranoia < 2)
{
  services = get_kb_item("SMB/svcs");

  if (isnull(services) || "GWIA" >!< services) exit(0);
}

if (report_verbosity > 0)
{
  if (major == 7) patched_ver = "7.0.3.1401";
  else if (major == 8) patched_ver = "8.0.0.7328";

  report = string(
    "\n",
    "The remote version of GroupWise Internet Agent (gwia.exe) has not been\n",
    "patched :\n",
    "\n",
    "  Remote version : ", version, "\n",
    "  Should be      : ", patched_ver, "\n"
  );
  security_hole(port:get_kb_item("SMB/transport"), extra:report);
}
else security_hole(get_kb_item("SMB/transport"));

Saint

bid35064
descriptionNovell GroupWise Internet Agent e-mail address buffer overflow
idmail_smtp_gwiaemailbo
osvdb54645
titlegroupwise_agent_email_address
typeremote

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID: 35064,35065 CVE(CAN) ID: CVE-2009-1636 Novell GroupWise是一款跨平台协作软件。 Novell GroupWise Internet代理(GWIA)在通过SMTP处理特制邮件或处理特制的SMTP请求时存在多个缓冲区溢出漏洞。如果远程攻击者发送了带有超长地址字段的恶意邮件消息的话,就可以触发这些溢出,导致以SYSTEM权限执行任意指令。 Novell Groupwise 8.0 Novell Groupwise 7.0 厂商补丁: Novell ------ 目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载: <a href="http://support.novell.com/security-alerts" target="_blank" rel=external nofollow>http://support.novell.com/security-alerts</a>
idSSV:11417
last seen2017-11-19
modified2009-05-25
published2009-05-25
reporterRoot
titleNovell GroupWise Internet代理邮件地址处理缓冲区溢出漏洞