Vulnerabilities > CVE-2011-2667 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in multiple products

047910
CVSS 0.0 - NONE
Attack vector
UNKNOWN
Attack complexity
UNKNOWN
Privileges required
UNKNOWN
Confidentiality impact
UNKNOWN
Integrity impact
UNKNOWN
Availability impact
UNKNOWN

Summary

Icihttp.exe in CA Gateway Security for HTTP, as used in CA Gateway Security 8.1 before 8.1.0.69 and CA Total Defense r12, does not properly parse URLs, which allows remote attackers to execute arbitrary code or cause a denial of service (heap memory corruption and daemon crash) via a malformed request.

Vulnerable Configurations

Part Description Count
Application
Ca
1
Application
Broadcom
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.

Nessus

NASL familyWindows
NASL idCA_GATEWAY_SECURITY_CODE_EXEC.NASL
descriptionAccording to its version number, the CA Gateway Security install on the remote Windows host is affected by a code execution vulnerability caused by a heap corruption condition when handling specially crafted HTTP requests on port 8080. A remote, unauthenticated attacker could exploit this flaw and execute arbitrary code on the host subject to the privileges of the user running the affected application.
last seen2020-06-01
modified2020-06-02
plugin id55692
published2011-07-26
reporterThis script is Copyright (C) 2011-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/55692
titleCA Gateway Security Malformed HTTP Packet Remote Code Execution
code
#
# (C) Tenable Network Security, Inc.
#

include('compat.inc');

if (description)
{
  script_id(55692);
  script_version("1.7");
  script_cvs_date("Date: 2018/11/15 20:50:26");

  script_cve_id("CVE-2011-2667");
  script_bugtraq_id(48813);
  script_xref(name:"Secunia", value:"45332");

  script_name(english:"CA Gateway Security Malformed HTTP Packet Remote Code Execution");
  script_summary(english:"Checks version of CA Gateway Security");

  script_set_attribute(attribute:"synopsis", value:
"The remote Windows host contains a security application that is 
affected by a code execution vulnerability.");
  script_set_attribute(attribute:"description", value:
"According to its version number, the CA Gateway Security install on
the remote Windows host is affected by a code execution vulnerability
caused by a heap corruption condition when handling specially crafted
HTTP requests on port 8080. 

A remote, unauthenticated attacker could exploit this flaw and execute
arbitrary code on the host subject to the privileges of the user
running the affected application.");

  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-11-237/");
  script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/2011/Jul/128");
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?5d309d2b");
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?621b2a3c");
  script_set_attribute(attribute:"solution", value:
"Upgrade to CA Gateway Security 9.0 or later, or apply the fix
referenced 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: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_set_attribute(attribute:"vuln_publication_date", value:"2011/07/20");
  script_set_attribute(attribute:"patch_publication_date", value:"2011/07/20");
  script_set_attribute(attribute:"plugin_publication_date", value:"2011/07/26");
  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:ca:etrust_antivirus_gateway");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);

  script_family(english:"Windows");

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

  script_dependencies("ca_gateway_security_installed.nasl", "smb_enum_services.nasl");
  script_require_keys("SMB/CA Gateway Security/Version");

  exit(0);
}

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

path = get_kb_item_or_exit('SMB/CA Gateway Security/Path');
version = get_kb_item_or_exit('SMB/CA Gateway Security/Version');

# Unless we're paranoid, make sure the service is running
if (report_paranoia < 2)
{
  status = get_kb_item_or_exit('SMB/svc/eTrust AntiVirus Gateway HTTP');
  if (status != SERVICE_ACTIVE)
    exit(0, 'The Antivirus Gateway HTTP service is installed but not active.');
}

fixed_version = '8.1.0.69';

if (ver_compare(ver:version, fix:fixed_version) == -1)
{
  if (report_verbosity > 0)
  {
    report = 
      '\n  Version       : ' + version +
      '\n  Fixed version : 8.1.0.69 / 9.0\n';
    security_hole(port:get_kb_item('SMB/transport'), extra:report);
  }
  else security_hole(port:get_kb_item('SMB/transport'));
  exit(0);
}
else exit(0, 'CA Gateway Security version '+version+' is installed, and thus is not affected.');