Vulnerabilities > CVE-2008-2241 - Path Traversal vulnerability in multiple products

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
broadcom
ca
CWE-22
critical
nessus

Summary

Directory traversal vulnerability in caloggerd in CA BrightStor ARCServe Backup 11.0, 11.1, and 11.5 allows remote attackers to append arbitrary data to arbitrary files via directory traversal sequences in unspecified input fields, which are used in log messages. NOTE: this can be leveraged for code execution in many installation environments by writing to a startup file or configuration file.

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Relative Path Traversal
    An attacker exploits a weakness in input validation on the target by supplying a specially constructed path utilizing dot and slash characters for the purpose of obtaining access to arbitrary files or resources. An attacker modifies a known path on the target in order to reach material that is not available through intended channels. These attacks normally involve adding additional path separators (/ or \) and/or dots (.), or encodings thereof, in various combinations in order to reach parent directories or entirely separate trees of the target's directory structure.
  • Directory Traversal
    An attacker with access to file system resources, either directly or via application logic, will use various file path specification or navigation mechanisms such as ".." in path strings and absolute paths to extend their range of access to inappropriate areas of the file system. The attacker attempts to either explore the file system for recon purposes or access directories and files that are intended to be restricted from their access. Exploring the file system can be achieved through constructing paths presented to directory listing programs, such as "ls" and 'dir', or through specially crafted programs that attempt to explore the file system. The attacker engaging in this type of activity is searching for information that can be used later in a more exploitive attack. Access to restricted directories or files can be achieved through modification of path references utilized by system applications.
  • File System Function Injection, Content Based
    An attack of this type exploits the host's trust in executing remote content including binary files. The files are poisoned with a malicious payload (targeting the file systems accessible by the target software) by the attacker and may be passed through standard channels such as via email, and standard web content like PDF and multimedia files. The attacker exploits known vulnerabilities or handling routines in the target processes. Vulnerabilities of this type have been found in a wide variety of commercial applications from Microsoft Office to Adobe Acrobat and Apple Safari web browser. When the attacker knows the standard handling routines and can identify vulnerabilities and entry points they can be exploited by otherwise seemingly normal content. Once the attack is executed, the attackers' program can access relative directories such as C:\Program Files or other standard system directories to launch further attacks. In a worst case scenario, these programs are combined with other propagation logic and work as a virus.
  • Using Slashes and URL Encoding Combined to Bypass Validation Logic
    This attack targets the encoding of the URL combined with the encoding of the slash characters. An attacker can take advantage of the multiple way of encoding an URL and abuse the interpretation of the URL. An URL may contain special character that need special syntax handling in order to be interpreted. Special characters are represented using a percentage character followed by two digits representing the octet code of the original character (%HEX-CODE). For instance US-ASCII space character would be represented with %20. This is often referred as escaped ending or percent-encoding. Since the server decodes the URL from the requests, it may restrict the access to some URL paths by validating and filtering out the URL requests it received. An attacker will try to craft an URL with a sequence of special characters which once interpreted by the server will be equivalent to a forbidden URL. It can be difficult to protect against this attack since the URL can contain other format of encoding such as UTF-8 encoding, Unicode-encoding, etc.
  • Manipulating Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.

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函数目录遍历及栈溢出漏洞