Lucene search

K
nessusThis script is Copyright (C) 2011-2018 Tenable Network Security, Inc.SYMANTEC_IM_MGR_8_4_17.NASL
HistoryFeb 22, 2011 - 12:00 a.m.

Symantec IM Manager IMAdminSchedTask.asp Eval Code Injection Remote Code Execution (SYM11-004)

2011-02-2200:00:00
This script is Copyright (C) 2011-2018 Tenable Network Security, Inc.
www.tenable.com
7

The version of Symantec IM Manager installed on the remote Windows host is earlier than 8.4.17. The ‘ScheduleTask’ method exposed by the ‘IMAdminSchedTask.asp’ page fails to properly sanitize user input to a POST variable before using it in an ‘eval()’ call.

If a logged in console user can be tricked into visiting a malicious link, this issue can be exploited to inject and execute arbitrary ASP code and compromise the affected application.

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


include("compat.inc");


if (description)
{
  script_id(52052);
  script_version("1.9");
  script_cvs_date("Date: 2018/11/15 20:50:29");

  script_cve_id("CVE-2010-3719");
  script_bugtraq_id(45946);
 
  script_name(english:"Symantec IM Manager IMAdminSchedTask.asp Eval Code Injection Remote Code Execution (SYM11-004)");
  script_summary(english:"Checks build version number");

  script_set_attribute(
    attribute:"synopsis",
    value:
"A web application on the remote Windows host can be abused to execute
arbitrary code."
  );
  script_set_attribute(
    attribute:"description",
    value:
"The version of Symantec IM Manager installed on the remote Windows
host is earlier than 8.4.17.  The 'ScheduleTask' method exposed by the
'IMAdminSchedTask.asp' page fails to properly sanitize user input to a
POST variable before using it in an 'eval()' call. 

If a logged in console user can be tricked into visiting a malicious
link, this issue can be exploited to inject and execute arbitrary ASP
code and compromise the affected application."
  );
  script_set_attribute(
    attribute:"see_also", 
    value:"https://www.zerodayinitiative.com/advisories/ZDI-11-037/"
  );
  script_set_attribute(
    attribute:"see_also", 
    value:"https://seclists.org/fulldisclosure/2011/Jan/584"
  );
  # https://support.symantec.com/en_US/article.SYMSA1218.html
  script_set_attribute(
    attribute:"see_also", 
    value:"http://www.nessus.org/u?97c57d06"
  );
  script_set_attribute(
    attribute:"see_also", 
    value:"https://support.symantec.com/en_US/article.TECH88765.html"
  );
  script_set_attribute(
    attribute:"solution", 
    value:"Upgrade to Symantec IM Manager 8.4.17 (build 8.4.1397) or later."
  );
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:S/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"exploit_framework_core", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2011/01/31");
  script_set_attribute(attribute:"patch_publication_date", value:"2011/01/31");
  script_set_attribute(attribute:"plugin_publication_date", value:"2011/02/22");

  script_set_attribute(attribute:"plugin_type", value:"local");

  script_set_attribute(attribute:"cpe", value:"cpe:/a:symantec:im_manager");
  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("symantec_im_mgr_installed.nasl");
  script_require_keys("SMB/Symantec/im_mgr/Build");

  exit(0);
}


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


build = get_kb_item_or_exit('SMB/Symantec/im_mgr/Build');
build_pat = "^([0-9]+\.[0-9]+\.[0-9]+)\.[0-9]+$";
if (eregmatch(pattern:build_pat, string:build))
  build = ereg_replace(pattern:build_pat, replace:"\1", string:build);

fixed_build = "8.4.1397";

if (ver_compare(ver:build, fix:fixed_build, strict:FALSE) == -1)
{
  path = get_kb_item('SMB/Symantec/im_mgr/Path');
  if (isnull(path)) path = 'n/a';

  port = get_kb_item("SMB/transport");

  if (report_verbosity > 0)
  {
    report = '\n  Path                    : '+path+
             '\n  Installed build version : '+build+
             '\n  Fixed build version     : '+fixed_build+'\n';
    security_hole(port:port, extra:report);
  }
  else security_hole(port);
}
else exit(0, "Symantec IM Manager build version "+build+" is installed and not affected.");
VendorProductVersionCPE
symantecim_managercpe:/a:symantec:im_manager
Related for SYMANTEC_IM_MGR_8_4_17.NASL