Vulnerabilities > CVE-2008-2242 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in multiple products

047910
CVSS 7.5 - HIGH
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
PARTIAL
network
low complexity
broadcom
ca
CWE-119
nessus

Summary

Multiple buffer overflows in xdr functions in the server in CA BrightStor ARCServe Backup 11.0, 11.1, and 11.5 allow remote attackers to execute arbitrary code, as demonstrated by a stack-based buffer overflow via a long parameter to the xdr_rwsstring function.

Vulnerable Configurations

Part Description Count
Application
Broadcom
2
Application
Ca
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 idARCSERVE_QO92996.NASL
descriptionAccording to its version, the installation of BrightStor ARCserve Backup on the remote host is affected by multiple issues : - A vulnerability in
last seen2020-06-01
modified2020-06-02
plugin id32398
published2008-05-22
reporterThis script is Copyright (C) 2008-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/32398
titleCA BrightStor ARCserve Backup Multiple Vulnerabilities (QO92996)
code
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

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

  script_cve_id("CVE-2008-2241", "CVE-2008-2242");
  script_bugtraq_id(29283);
  script_xref(name:"Secunia", value:"30300");

  script_name(english:"CA BrightStor ARCserve Backup Multiple Vulnerabilities (QO92996)");
  script_summary(english:"Checks version of BrightStor ARCserve Backup");

  script_set_attribute(attribute:"synopsis", value:
"The remote software is affected by multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"According to its version, the installation of BrightStor ARCserve
Backup on the remote host is affected by multiple issues :

  - A vulnerability in 'caloggerd' could allow an 
    unauthenticated attacker to append data to arbitrary 
    files on the server using log messages with directory
    traversal sequences, which could lead to a system
    compromise.

  - Insufficient boundary checks in multiple 'xdr' 
    functions could allow an unauthorized attacker to 
    execute arbitrary code with SYSTEM level privileges 
    or cause a denial of service condition.");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-08-026/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-08-027/");
  script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/2008/May/207");
  script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/2008/May/216");
  script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/2008/May/210");
  # https://support.ca.com/irj/portal/anonymous/phpsupcontent?contentID=176798
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?d7e28a0b");
  script_set_attribute(attribute:"solution", value:
"Upgrade to ARCserve Backup r11.5 SP4/ r12.0
or apply vendor-supplied patches.");
  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(22, 119);

  script_set_attribute(attribute:"plugin_publication_date", value:"2008/05/22");
  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:ca:arcserve_backup");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows");
  script_copyright(english:"This script is Copyright (C) 2008-2018 Tenable Network Security, Inc.");

  script_dependencies("arcserve_discovery_service_detect.nasl", "os_fingerprint.nasl");
  script_require_keys("ARCSERVE/Discovery/Version");

  exit(0);
}

os = get_kb_item("Host/OS");
if (!os || "Windows" >!< os) exit(0);

include("global_settings.inc");

ver = get_kb_item("ARCSERVE/Discovery/Version");
if (!ver) exit(0);

# Exit on version 12.0 or r11.5 SP4
if ("r12.0" >< ver || "r11.5 (build 4490)"  >< ver ) exit(0);

port = get_kb_item("Services/udp/casdscsvc");
if (!port) exit(0);

matches = eregmatch(string:ver, pattern:"^[a-z]([0-9]+\.[0-9]+) \(build ([0-9]+)\)$");
if (!isnull(matches))
{
  ver 	= matches[1];
  build = int(matches[2]);

  if (
      (ver == "11.5" && build < 4408) ||
      (ver == "11.1" && build < 3212) ||
      # nb: Users should upgrade to at least r11.1 and apply relevant patches.
      (ver == "11.0")
     )
  {
    if (report_verbosity)
    { 	
      report = string(
        "\n",
        "Arcserve Backup ", ver , " ( build ",build,") is installed on the remote host.\n"
      );
      security_hole(port:port, proto:"udp", extra:report);
    }
    else security_hole(port:port, proto:"udp");
  }
}

Saint

  • bid29283
    descriptionCA ARCserve Backup xdr_rwsstring buffer overflow
    idmisc_arcservecategory_ver,misc_arcservecategory_xdr
    osvdb45368
    titlebrightstor_arcserve_xdr_rwsstring
    typeremote
  • bid29283
    descriptionCA ARCserve Backup caloggerd opcode 79 buffer overflow
    idmisc_arcservecategory_ver
    osvdb45368
    titlebrightstor_arcserve_caloggerd_79
    typeremote

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID: 29283 CVE(CAN) ID: CVE-2008-2241,CVE-2008-2242 BrightStor ARCserve Backup可为各种平台的服务器提供备份和恢复保护功能。 ARCserve Backup的caloggerd日志守护程序在处理日志消息时对提供的路径缺少检查,如果攻击者向文件附加了恶意数据的话,就可能导致在生成日志时导致目录遍历攻击。 如果向ARCserve Backup的xdr_rwsstring()库函数传送了超长参数的话,就可能触发栈溢出,导致执行任意指令。 Computer Associates Server Protection r2 Computer Associates Business Protection r2 Computer Associates Business Protection for Microsoft SBS Std Ed r2 Computer Associates Business Protection for Microsoft SBS Pre ed r2 Computer Associates ARCserve Backup r11.5 Computer Associates ARCserve Backup r11.1 Computer Associates ARCserve Backup r11.0 Computer Associates ------------------- 目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载: <a href=https://support.ca.com/irj/portal/anonymous/phpsupcontent?contentID=176798 target=_blank>https://support.ca.com/irj/portal/anonymous/phpsupcontent?contentID=176798</a>
idSSV:3309
last seen2017-11-19
modified2008-05-21
published2008-05-21
reporterRoot
titleCA ARCserve Backup caloggerd和xdr函数目录遍历及栈溢出漏洞