Vulnerabilities > CVE-2014-1335 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in Apple Safari

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

Summary

WebKit, as used in Apple Safari before 6.1.4 and 7.x before 7.0.4, allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption and application crash) via a crafted web site, a different vulnerability than other WebKit CVEs listed in APPLE-SA-2014-05-21-1.

Vulnerable Configurations

Part Description Count
Application
Apple
118

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 idITUNES_12_0_1.NASL
    descriptionThe version of Apple iTunes installed on the remote Windows host is prior to 12.0.1. It is, therefore, affected by multiple vulnerabilities due to the included version of WebKit. The errors could lead to application crashes or arbitrary code execution. Note that Nessus has not tested for this issue but has instead relied only on the application
    last seen2020-06-01
    modified2020-06-02
    plugin id78597
    published2014-10-21
    reporterThis script is Copyright (C) 2014-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/78597
    titleApple iTunes < 12.0.1 Multiple Vulnerabilities (credentialed check)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(78597);
      script_version("1.6");
      script_cvs_date("Date: 2018/11/15 20:50:27");
    
      script_cve_id(
        "CVE-2013-2871",
        "CVE-2013-2875",
        "CVE-2013-2909",
        "CVE-2013-2926",
        "CVE-2013-2927",
        "CVE-2013-2928",
        "CVE-2013-5195",
        "CVE-2013-5196",
        "CVE-2013-5197",
        "CVE-2013-5198",
        "CVE-2013-5199",
        "CVE-2013-5225",
        "CVE-2013-5228",
        "CVE-2013-6625",
        "CVE-2013-6635",
        "CVE-2013-6663",
        "CVE-2014-1268",
        "CVE-2014-1269",
        "CVE-2014-1270",
        "CVE-2014-1289",
        "CVE-2014-1290",
        "CVE-2014-1291",
        "CVE-2014-1292",
        "CVE-2014-1293",
        "CVE-2014-1294",
        "CVE-2014-1298",
        "CVE-2014-1299",
        "CVE-2014-1300",
        "CVE-2014-1301",
        "CVE-2014-1302",
        "CVE-2014-1303",
        "CVE-2014-1304",
        "CVE-2014-1305",
        "CVE-2014-1307",
        "CVE-2014-1308",
        "CVE-2014-1309",
        "CVE-2014-1310",
        "CVE-2014-1311",
        "CVE-2014-1312",
        "CVE-2014-1313",
        "CVE-2014-1323",
        "CVE-2014-1324",
        "CVE-2014-1325",
        "CVE-2014-1326",
        "CVE-2014-1327",
        "CVE-2014-1329",
        "CVE-2014-1330",
        "CVE-2014-1331",
        "CVE-2014-1333",
        "CVE-2014-1334",
        "CVE-2014-1335",
        "CVE-2014-1336",
        "CVE-2014-1337",
        "CVE-2014-1338",
        "CVE-2014-1339",
        "CVE-2014-1340",
        "CVE-2014-1341",
        "CVE-2014-1342",
        "CVE-2014-1343",
        "CVE-2014-1344",
        "CVE-2014-1362",
        "CVE-2014-1363",
        "CVE-2014-1364",
        "CVE-2014-1365",
        "CVE-2014-1366",
        "CVE-2014-1367",
        "CVE-2014-1368",
        "CVE-2014-1382",
        "CVE-2014-1384",
        "CVE-2014-1385",
        "CVE-2014-1386",
        "CVE-2014-1387",
        "CVE-2014-1388",
        "CVE-2014-1389",
        "CVE-2014-1390",
        "CVE-2014-1713",
        "CVE-2014-1731",
        "CVE-2014-4410",
        "CVE-2014-4411",
        "CVE-2014-4412",
        "CVE-2014-4413",
        "CVE-2014-4414",
        "CVE-2014-4415"
      );
      script_bugtraq_id(
        64361,
        67553,
        67572
      );
      script_xref(name:"APPLE-SA", value:"APPLE-SA-2014-10-16-6");
    
      script_name(english:"Apple iTunes < 12.0.1 Multiple Vulnerabilities (credentialed check)");
      script_summary(english:"Checks version of iTunes on Windows.");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote host contains an application that is affected by multiple
    vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "The version of Apple iTunes installed on the remote Windows host is
    prior to 12.0.1. It is, therefore, affected by multiple
    vulnerabilities due to the included version of WebKit. The errors
    could lead to application crashes or arbitrary code execution.
    
    Note that Nessus has not tested for this issue but has instead relied
    only on the application's self-reported version number.");
      script_set_attribute(attribute:"see_also", value:"https://support.apple.com/en-us/HT203115");
      script_set_attribute(attribute:"see_also", value:"https://www.securityfocus.com/archive/1/533723/30/0/threaded");
      script_set_attribute(attribute:"solution", value:"Upgrade to Apple iTunes 12.0.1 or later.");
      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:POC/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:"vuln_publication_date", value:"2014/07/09");
      script_set_attribute(attribute:"patch_publication_date", value:"2014/10/17");
      script_set_attribute(attribute:"plugin_publication_date", value:"2014/10/21");
    
      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:"Windows");
    
      script_copyright(english:"This script is Copyright (C) 2014-2018 Tenable Network Security, Inc.");
    
      script_dependencies("itunes_detect.nasl");
      script_require_keys("installed_sw/iTunes Version", "SMB/Registry/Enumerated");
    
      exit(0);
    }
    
    include("audit.inc");
    include("global_settings.inc");
    include("misc_func.inc");
    include("install_func.inc");
    
    # Ensure this is Windows
    get_kb_item_or_exit("SMB/Registry/Enumerated");
    
    app_id = 'iTunes Version';
    install = get_single_install(app_name:app_id, exit_if_unknown_ver:TRUE);
    
    version = install["version"];
    path = install["path"];
    
    fixed_version = "12.0.1.26";
    if (ver_compare(ver:version, fix:fixed_version) < 0)
    {
      port = get_kb_item("SMB/transport");
      if (!port) port = 445;
    
      if (report_verbosity > 0)
      {
        report =
          '\n  Path              : ' + path +
          '\n  Installed version : ' + version +
          '\n  Fixed version     : ' + fixed_version +
          '\n';
        security_hole(port:port, extra:report);
      }
      else security_hole(port);
    }
    else audit(AUDIT_INST_PATH_NOT_VULN, "iTunes", version, path);
    
  • NASL familyPeer-To-Peer File Sharing
    NASL idITUNES_12_0_1_BANNER.NASL
    descriptionThe version of Apple iTunes on the remote host is prior to version 12.0.1. It is, therefore, affected by multiple vulnerabilities related to the included version of WebKit. The errors could lead to application crashes or arbitrary code execution. Note that Nessus has not tested for this issue but has instead relied only on the application
    last seen2020-06-01
    modified2020-06-02
    plugin id78598
    published2014-10-21
    reporterThis script is Copyright (C) 2014-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/78598
    titleApple iTunes < 12.0.1 Multiple Vulnerabilities (uncredentialed check)
  • NASL familyMacOS X Local Security Checks
    NASL idMACOSX_SAFARI7_0_4.NASL
    descriptionThe version of Apple Safari installed on the remote Mac OS X host is a version prior to 6.1.4 or 7.0.4. It is, therefore, potentially affected by the following vulnerabilities : - Multiple memory corruption vulnerabilities exist in WebKit that could lead to unexpected program termination or arbitrary code execution. (CVE-2013-2875, CVE-2013-2927, CVE-2014-1323, CVE-2014-1324, CVE-2014-1326, CVE-2014-1327, CVE-2014-1329, CVE-2014-1330, CVE-2014-1331, CVE-2014-1333, CVE-2014-1334, CVE-2014-1335, CVE-2014-1336, CVE-2014-1337, CVE-2014-1338, CVE-2014-1339, CVE-2014-1341, CVE-2014-1342, CVE-2014-1343, CVE-2014-1344, CVE-2014-1731) - An error exists related to unicode character handling in URLs that could allow an attacker send an incorrect
    last seen2020-06-01
    modified2020-06-02
    plugin id74139
    published2014-05-22
    reporterThis script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/74139
    titleMac OS X : Apple Safari < 6.1.4 / 7.0.4 Multiple Vulnerabilities

The Hacker News

idTHN:B3134F9592DCEEE250782167786A2594
last seen2018-01-27
modified2014-05-24
published2014-05-23
reporterWang Wei
sourcehttps://thehackernews.com/2014/05/apple-patches-22-safari-webkit.html
titleApple Patches 22 Safari WebKit Vulnerabilities