Lucene search

K
nessusThis script is Copyright (C) 2009-2018 Tenable Network Security, Inc.MACOSX_ITUNES_8_2.NASL
HistoryJun 02, 2009 - 12:00 a.m.

iTunes < 8.2 itms: URL Stack Overflow (Mac OS X)

2009-06-0200:00:00
This script is Copyright (C) 2009-2018 Tenable Network Security, Inc.
www.tenable.com
17

The remote version of iTunes is older than 8.2. Such versions are affected by a stack-based buffer overflow that can be triggered when parsing ‘itms:’ URLs. If an attacker can trick a user on the affected host into clicking on a malicious link, he can leverage this issue to crash the affected application or to execute arbitrary code on the affected system subject to the user’s privileges.

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

include("compat.inc");

if (description)
{
  script_id(38987);
  script_version("1.17");
  script_cvs_date("Date: 2018/07/16 12:48:31");

  script_cve_id("CVE-2009-0950");
  script_bugtraq_id(35157);

  script_name(english:"iTunes < 8.2 itms: URL Stack Overflow (Mac OS X)");
  script_summary(english:"Checks version of iTunes");

  script_set_attribute( attribute:"synopsis", value:
"The remote Mac OS X host contains an application that is affected by a
buffer overflow vulnerability."  );
  script_set_attribute( attribute:"description", value:
"The remote version of iTunes is older than 8.2. Such versions are
affected by a stack-based buffer overflow that can be triggered
when parsing 'itms:' URLs.  If an attacker can trick a user on the
affected host into clicking on a malicious link, he can leverage
this issue to crash the affected application or to execute arbitrary
code on the affected system subject to the user's privileges."  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://support.apple.com/kb/HT3592"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://lists.apple.com/archives/security-announce/2009/Jun/msg00001.html"
  );
  script_set_attribute(
    attribute:"solution",
    value:"Upgrade to iTunes 8.2 or later."
  );
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:H/RL:O/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:"exploited_by_malware", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'Apple OS X iTunes 8.1.1 ITMS Overflow');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
  script_cwe_id(119);

  script_set_attribute(attribute:"plugin_publication_date", value: "2009/06/02");
  script_set_attribute(attribute:"patch_publication_date", value: "2009/06/01");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:apple:itunes");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"MacOS X Local Security Checks");

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

  script_dependencies("macosx_itunes_detect.nasl");
  script_require_keys("Host/MacOSX/Version", "installed_sw/iTunes");

  exit(0);
}

include("vcf.inc");

os = get_kb_item("Host/MacOSX/Version");
if (!os) audit(AUDIT_OS_NOT, "Mac OS X");

app_info = vcf::get_app_info(app:"iTunes");

constraints = [{"fixed_version" : "8.2"}];

vcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_HOLE);
VendorProductVersionCPE
appleitunescpe:/a:apple:itunes