Vulnerabilities > CVE-2011-3175 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in Novell Zenworks Configuration Management 11.1/11.1A

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
exploit available
metasploit

Summary

Stack-based buffer overflow in the Preboot Service in Novell ZENworks Configuration Management (ZCM) 11.1 and 11.1a allows remote attackers to execute arbitrary code via an opcode 0x6c request.

Vulnerable Configurations

Part Description Count
Application
Novell
2

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 ZENworks Configuration Management Preboot Service 0x4c Buffer Overflow. CVE-2011-3175,CVE-2011-3176. Remote exploit for windows platform
    fileexploits/windows/remote/19959.rb
    idEDB-ID:19959
    last seen2016-02-02
    modified2012-07-20
    platformwindows
    port998
    published2012-07-20
    reportermetasploit
    sourcehttps://www.exploit-db.com/download/19959/
    titleNovell ZENworks Configuration Management Preboot Service 0x4c Buffer Overflow
    typeremote
  • descriptionNovell ZENworks Configuration Management Preboot Service 0x6c Buffer Overflow. CVE-2011-3175,CVE-2011-3176. Remote exploit for windows platform
    fileexploits/windows/remote/19958.rb
    idEDB-ID:19958
    last seen2016-02-02
    modified2012-07-20
    platformwindows
    port
    published2012-07-20
    reportermetasploit
    sourcehttps://www.exploit-db.com/download/19958/
    titleNovell ZENworks Configuration Management Preboot Service 0x6c Buffer Overflow
    typeremote

Metasploit

descriptionThis module exploits a remote buffer overflow in the ZENworks Configuration Management. The vulnerability exists in the Preboot service and can be triggered by sending a specially crafted packet with the opcode 0x6c (PROXY_CMD_GET_NEXT_STEP) to port 998/TCP. The module has been successfully tested on Novell ZENworks Configuration Management 10 SP2 / SP3 and Windows Server 2003 SP2 (DEP bypass).
idMSF:EXPLOIT/WINDOWS/NOVELL/ZENWORKS_PREBOOT_OP6C_BOF
last seen2020-06-07
modified2017-07-24
published2012-07-19
references
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/novell/zenworks_preboot_op6c_bof.rb
titleNovell ZENworks Configuration Management Preboot Service 0x6c Buffer Overflow

Nessus

NASL familyWindows
NASL idNOVELL_ZCM_PREBOOT_5127930.NASL
descriptionAccording to its version, the instance of ZENworks Configuration Management installed on the remote Windows host has several vulnerabilities in its PreBoot service : - An arbitrary file download vulnerability via opcode 0x21 may allow an attacker to download any file on the remote system. (TID 7009969) - A stack-based buffer overflow vulnerability via opcode 0x6c may allow an attacker to execute arbitrary code on the remote system. (TID 7009970) - A stack-based buffer overflow vulnerability via opcode 0x4c may allow an attacker to execute arbitrary code on the remote system. (TID 7009971)
last seen2020-06-01
modified2020-06-02
plugin id58968
published2012-05-02
reporterThis script is Copyright (C) 2012-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/58968
titleNovell ZENworks Configuration Management PreBoot Service Opcode Request Parsing Vulnerabilities
code
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(58968);
  script_version("1.13");
  script_cvs_date("Date: 2018/07/16 14:09:15");

  script_cve_id("CVE-2011-3175", "CVE-2011-3176", "CVE-2012-2215");
  script_bugtraq_id(52659);

  script_name(english:"Novell ZENworks Configuration Management PreBoot Service Opcode Request Parsing Vulnerabilities");
  script_summary(english:"Checks version of novell-pbserv.exe");

  script_set_attribute(attribute:"synopsis", value:
"The remote Windows host contains an application that is affected by
multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"According to its version, the instance of ZENworks Configuration
Management installed on the remote Windows host has several
vulnerabilities in its PreBoot service :

  - An arbitrary file download vulnerability via opcode 0x21
    may allow an attacker to download any file on the remote
    system. (TID 7009969)

  - A stack-based buffer overflow vulnerability via opcode
    0x6c may allow an attacker to execute arbitrary code on
    the remote system. (TID 7009970)

  - A stack-based buffer overflow vulnerability via opcode
    0x4c may allow an attacker to execute arbitrary code on
    the remote system. (TID 7009971)");

  script_set_attribute(attribute:"solution", value:"Upgrade to version 11.2 or apply the patch in the advisory.");
  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:"exploit_framework_core", value:"true");
  script_set_attribute(attribute:"exploithub_sku", value:"EH-12-800");
  script_set_attribute(attribute:"exploit_framework_exploithub", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'Novell ZENworks Configuration Management Preboot Service 0x21 Buffer Overflow');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
  script_set_attribute(attribute:"exploit_framework_canvas", value:"true");
  script_set_attribute(attribute:"canvas_package", value:'CANVAS');

  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?8373bda8");
script_set_attribute(attribute:"vuln_publication_date", value:"2012/02/23");
  script_set_attribute(attribute:"patch_publication_date", value:"2012/02/23");
  script_set_attribute(attribute:"plugin_publication_date", value:"2012/05/02");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:novell:zenworks_configuration_management");
  script_end_attributes();

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

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

  script_dependencies("novell_zenworks_detect.nasl");
  script_require_keys("SMB/Novell/ZENworks/Installed");
  script_require_ports(139, 445);

  exit(0);
}

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

get_kb_item_or_exit("SMB/Novell/ZENworks/Installed");

app = "Novell ZENworks Configuration Management PreBoot Service";

# Get details of the ZCM install.
base = get_kb_item_or_exit("SMB/Novell/ZENworks/Path");
version = get_kb_item_or_exit("SMB/Novell/ZENworks/Version");

# These issues only affect 11.1/11.1a.
if (version !~ "^11\.1([^0-9]|$)")
  audit(AUDIT_INST_VER_NOT_VULN, app, version);

# Connect to the appropriate share.
port    =  kb_smb_transport();
login   =  kb_smb_login();
pass    =  kb_smb_password();
domain  =  kb_smb_domain();

if(! smb_session_init()) audit(AUDIT_FN_FAIL, 'smb_session_init');

# Split the software's location into components.
share = ereg_replace(string:base, pattern:"^([A-Za-z]):.*", replace:"\1$");
dir = ereg_replace(string:base, pattern:"^[A-Za-z]:(.*)", replace:"\1");
path = "\bin\preboot\novell-pbserv.exe";

# Connect to the share software is installed on.
rc = NetUseAdd(login:login, password:pass, domain:domain, share:share);
if (rc != 1)
{
  NetUseDel();
  audit(AUDIT_SHARE_FAIL, share);
}

# Try to open the affected DLL.
fh = CreateFile(
  file:dir + path,
  desired_access:GENERIC_READ,
  file_attributes:FILE_ATTRIBUTE_NORMAL,
  share_mode:FILE_SHARE_READ,
  create_disposition:OPEN_EXISTING
);
if (isnull(fh))
{
  NetUseDel();
  audit(AUDIT_NOT_INST, app);
}

# Parse the version information from the EXE.
ver = GetFileVersion(handle:fh);
CloseFile(handle:fh);

# Clean up.
NetUseDel();

if (isnull(ver))
  exit(1, "Failed to read the version number from " + base + path + ".");

ver = join(ver, sep:".");
fix = "11.1.0.17121";

if (ver_compare(ver:ver, fix:fix) >= 0)
  exit(0, "The " + app + " install at " + base + path + " is version " + ver + " and thus not affected.");

report = NULL;
if (report_verbosity > 0)
{
  report =
    '\n  Path              : ' + base + path +
    '\n  Installed version : ' + ver +
    '\n  Fixed version     : ' + fix +
    '\n';
}

security_hole(port:port, extra:report);

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/114899/zenworks_preboot_op6c_bof.rb.txt
idPACKETSTORM:114899
last seen2016-12-05
published2012-07-19
reporterLuigi Auriemma
sourcehttps://packetstormsecurity.com/files/114899/Novell-ZENworks-Configuration-Management-Preboot-Service-0x6c-Buffer-Overflow.html
titleNovell ZENworks Configuration Management Preboot Service 0x6c Buffer Overflow