Lucene search

K
nessusThis script is Copyright (C) 2007-2018 Tenable Network Security, Inc.SOPHOS_2_49_0.NASL
HistorySep 07, 2007 - 12:00 a.m.

Sophos Anti-Virus CAB, RAR and LZH Scanning Evasion

2007-09-0700:00:00
This script is Copyright (C) 2007-2018 Tenable Network Security, Inc.
www.tenable.com
9

The version of Sophos Anti-Virus installed on the remote host reportedly contains several problems involving the processing of ‘CAB’ ‘RAR’ and ‘LZH’ files which may allow an attacker to evade the anti- virus scanning by sending a specially-malformed archive.

In addition, an attacker may exploit an HTML injection vulnerability when processing a ZIP file.

#
#  (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(26002);
  script_version("1.15");
  script_cvs_date("Date: 2018/07/30 15:31:32");

  script_cve_id("CVE-2007-4512", "CVE-2007-4787");
  script_bugtraq_id(25572, 25574);

  script_name(english:"Sophos Anti-Virus CAB, RAR and LZH Scanning Evasion");
  script_summary(english:"Checks version of Sophos engine"); 
 
  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 version of Sophos Anti-Virus installed on the remote host
reportedly contains several problems involving the processing of 'CAB'
'RAR' and 'LZH' files which may allow an attacker to evade the anti-
virus scanning by sending a specially-malformed archive. 

In addition, an attacker may exploit an HTML injection vulnerability
when processing a ZIP file.");
  script_set_attribute(attribute:"solution", value:"Update to Sophos Anti-Virus engine version 2.49.0 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N");
  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(20, 79);

  script_set_attribute(attribute:"vuln_publication_date", value:"2007/09/04");
  script_set_attribute(attribute:"plugin_publication_date", value:"2007/09/07");
  script_set_attribute(attribute:"patch_publication_date", value:"2007/09/06");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:sophos:sophos_anti-virus");
  script_end_attributes();
 
  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows");

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

  script_dependencies("sophos_installed.nasl");
  script_require_keys("Antivirus/Sophos/installed", "Antivirus/Sophos/eng_ver");

  exit(0);
}


# Get the signature database update for the target.
engine = get_kb_item("Antivirus/Sophos/eng_ver");
if (!engine) exit(0);

ver = split(engine, sep:'.', keep:FALSE);
for (i=0; i<max_index(ver); i++)
  ver[i] = int(ver[i]);

fix = split("2.49.0", sep:'.', keep:FALSE);
for (i=0; i<max_index(fix); i++)
  fix[i] = int(fix[i]);

for (i=0; i<max_index(ver); i++)
  if ((ver[i] < fix[i]))
  {
    # nb: Sophos doesn't report the last part in its advisory.
    ver = string(ver[0], ".", ver[1], ".", ver[2]);
    report = string(
      "\n",
      "The current engine version on the remote is ", ver, ".\n"
    );
    security_warning(port:get_kb_item("SMB/transport"), extra:report);
    break;
  }
  else if (ver[i] > fix[i])
    break;
VendorProductVersionCPE
sophossophos_anti-viruscpe:/a:sophos:sophos_anti-virus
Related for SOPHOS_2_49_0.NASL