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

047910
CVSS 6.8 - MEDIUM
Attack vector
NETWORK
Attack complexity
MEDIUM
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
PARTIAL
network
symantec
CWE-119
nessus

Summary

Stack-based buffer overflow in Symantec Decomposer, as used in certain Symantec antivirus products including Symantec Scan Engine 5.1.2 and other versions before 5.1.6.31, allows remote attackers to execute arbitrary code or cause a denial of service (application crash) via a malformed RAR file to the Internet Content Adaptation Protocol (ICAP) port (1344/tcp).

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 idSYMANTEC_DECOMPOSER_MULTIPLE_VULNS.NASL
descriptionThe remote Symantec product is affected by multiple issues. By sending a specially crafted RAR file to TCP port 1344, an unauthenticated attacker may be able to cause a denial of service condition or execute arbitrary code, subject to privileges of the user running the application.
last seen2020-06-01
modified2020-06-02
plugin id31858
published2008-04-14
reporterThis script is Copyright (C) 2008-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/31858
titleSymantec Decomposer Multiple Vulnerabilities (SYM08-006)
code
#
#  (C) Tenable Network Security, Inc.
#


include("compat.inc");

if (description)
{
  script_id(31858);
  script_version("1.19");

  script_cve_id("CVE-2008-0308", "CVE-2008-0309");
  script_bugtraq_id(27911, 27913);

  script_name(english:"Symantec Decomposer Multiple Vulnerabilities (SYM08-006)");
  script_summary(english:"Checks for vulnerable versions of Symantec products"); 
 script_set_attribute(attribute:"synopsis", value:
"The remote Windows host has an application that is affected by multiple
vulnerabilities." );
 script_set_attribute(attribute:"description", value:
"The remote Symantec product is affected by multiple issues. 

By sending a specially crafted RAR file to TCP port 1344, an
unauthenticated attacker may be able to cause a denial of service
condition or execute arbitrary code, subject to privileges of the user
running the application." );
   # http://www.verisigninc.com/en_US/products-and-services/network-intelligence-availability/idefense/public-vulnerability-reports/articles/index.xhtml?id=666  
 script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?a5b2e816" );
   # http://www.verisigninc.com/en_US/products-and-services/network-intelligence-availability/idefense/public-vulnerability-reports/articles/index.xhtml?id=667
 script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?d096172f" );
 script_set_attribute(attribute:"see_also", value:"https://www.securityfocus.com/archive/1/488827" );
 script_set_attribute(attribute:"see_also", value:"https://www.securityfocus.com/archive/1/488828" );
 script_set_attribute(attribute:"see_also", value:"http://www.symantec.com/avcenter/security/Content/2008.02.27.html" );
 script_set_attribute(attribute:"solution", value:
"Upgrade to :

 - Symantec Scan Engine 5.1.6.31
 - Symantec AntiVirus Scan Engine 4.3.18.43
 - Symantec Mail Security for Microsoft Exchange 4.6.8.120/5.0.6.368" );
 script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/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, 399);
 
 script_set_attribute(attribute:"plugin_publication_date", value: "2008/04/14");
 script_set_attribute(attribute:"patch_publication_date", value: "2008/02/26");
 script_cvs_date("Date: 2018/11/15 20:50:29");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe",value:"cpe:/a:symantec:scan_engine");
script_set_attribute(attribute:"cpe",value:"cpe:/a:symantec:symantec_antivirus_filtering_domino_mpe");
script_set_attribute(attribute:"cpe",value:"cpe:/a:symantec:symantec_antivirus_network_attached_storage");
script_set_attribute(attribute:"cpe",value:"cpe:/a:symantec:symantec_antivirus_scan_engine");
script_set_attribute(attribute:"cpe",value:"cpe:/a:symantec:symantec_antivirus_scan_engine_caching");
script_set_attribute(attribute:"cpe",value:"cpe:/a:symantec:symantec_antivirus_scan_engine_clearswift");
script_set_attribute(attribute:"cpe",value:"cpe:/a:symantec:symantec_antivirus_scan_engine_for_microsoft_sharepoint");
script_set_attribute(attribute:"cpe",value:"cpe:/a:symantec:symantec_antivirus_scan_engine_for_ms_isa");
script_set_attribute(attribute:"cpe",value:"cpe:/a:symantec:symantec_antivirus_scan_engine_messaging");
script_set_attribute(attribute:"cpe",value:"cpe:/a:symantec:symantec_mail_security_for_microsoft_exchange");
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("symantec_scan_engine_installed.nasl","sms_for_msexchange.nasl");
  exit(0);
}

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

port = kb_smb_transport();

# Check Symantec Antivirus Scan Engine Version

version = get_kb_item("Symantec/Symantec AntiVirus Scan Engine/Version");
if (version)
{
 v = split(version, sep:".", keep:FALSE);

 # Version 4.3.18.43 is not vulnerable.

 if (( int(v[0]) < 4  ) ||
     ( int(v[0]) == 4 && int(v[1]) < 3 ) ||
     ( int(v[0]) == 4 && int(v[1]) == 3 && int(v[2]) < 18 ) ||
     ( int(v[0]) == 4 && int(v[1]) == 3 && int(v[2]) == 18 &&  int(v[3]) < 43 )
   )
     {
      if (report_verbosity)
      {
        report = string(
          "\n",
          "Version ",version," of Symantec AntiVirus Scan Engine \n",
	  " is installed on the remote host.",
          "\n"
        );
        security_hole(port:port, extra:report);
       }  	
       else
   	 security_hole(port);
     }
}

# Check Symantec Scan Engine Version
# Version 5.1.6.31 is not vulnerable

version = get_kb_item("Symantec/Symantec Scan Engine/Version");
if (version)
{
 v = split(version, sep:".", keep:FALSE);
 if ( ( int(v[0]) < 5 ) ||
      ( int(v[0]) == 5 && int(v[1]) < 1 ) ||
      ( int(v[0]) == 5 && int(v[1]) == 1 && int(v[2]) < 6 ) ||
      ( int(v[0]) == 5 && int(v[1]) == 1 && int(v[2]) == 6 &&  int(v[3]) < 31 )
    )
   {
     if (report_verbosity)
      {
        report = string(
          "\n",
          "Version ",version," of Symantec Scan Engine is installed \n",
	  " on the remote host.",
          "\n"
        );
        security_hole(port:port, extra:report);
       }	
       else
    	security_hole(port);
    }
}

# Check for Symantec Mail Security for MS Exchange

version = get_kb_item("Symantec/SMSE/Version");
# Versions 5.0.6.368 and 4.6.8.120 are not vulnerable 

if (version)
{
 v = split(version, sep:".", keep:FALSE);
 if ( ( int(v[0]) <  4 ) ||
      ( int(v[0]) == 4 && int(v[1]) < 6 ) ||
      ( int(v[0]) == 4 && int(v[1]) == 6 && int(v[2]) < 8 ) ||
      ( int(v[0]) == 4 && int(v[1]) == 6 && int(v[2]) == 8 &&  int(v[3]) < 120 ) ||
      ( int(v[0]) == 5 && int(v[1]) == 0 && int(v[2]) < 6 ) ||
      ( int(v[0]) == 5 && int(v[1]) == 0 && int(v[2]) == 6 &&  int(v[3]) < 368) 
    )
   {
     if (report_verbosity)
      {
       report = string(
        "\n",
        "Version ",version," of Symantec Mail Security for MS Exchange\n",
        "is installed on the remote host.",
        "\n"
       );
        security_hole(port:port, extra:report);
       }
       else
        security_hole(port);
    }
}

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID: 27913 CVE(CAN) ID: CVE-2008-0309 Symantec的Decomposer引擎用于在扫描恶意内容时解析一些类型的文档内容。 Decomposer引擎处理畸形格式的RAR文档时存在漏洞,如果Decomposer引擎引擎扫描到了畸形的RAR文件的话,就可能触发栈溢出,导致拒绝服务或执行任意指令。 Symantec AntiVirus &lt;= 4.3.16.39 Symantec Scan Engine &lt;= 5.1.4.24 Symantec Mail Security for Microsoft Exchange &lt;= 5.0.4.363 Symantec Mail Security for Microsoft Exchange &lt;= 4.6.5.12 厂商补丁: Symantec -------- 目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载: <a href=http://www.symantec.com/ target=_blank>http://www.symantec.com/</a>
idSSV:2957
last seen2017-11-19
modified2008-02-28
published2008-02-28
reporterRoot
titleSymantec Decomposer引擎RAR文件解析栈溢出漏洞