Vulnerabilities > CVE-2020-3911 - Classic Buffer Overflow vulnerability in Apple products

047910
CVSS 7.5 - HIGH
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
PARTIAL
network
low complexity
apple
CWE-120
nessus

Summary

A buffer overflow was addressed with improved bounds checking. This issue is fixed in iOS 13.4 and iPadOS 13.4, macOS Catalina 10.15.4, tvOS 13.4, watchOS 6.2, iTunes for Windows 12.10.5, iCloud for Windows 10.9.3, iCloud for Windows 7.18. Multiple issues in libxml2.

Vulnerable Configurations

Part Description Count
Application
Apple
34
OS
Apple
456

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_10_5.NASL
    descriptionThe version of Apple iTunes installed on the remote Windows host is prior to 12.10.5. It is, therefore, affected by multiple vulnerabilities as referenced in the HT211105 advisory. Note that Nessus has not tested for this issue but has instead relied only on the application
    last seen2020-04-30
    modified2020-03-31
    plugin id135032
    published2020-03-31
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/135032
    titleApple iTunes < 12.10.5 Multiple Vulnerabilities (credentialed check) (HT211105)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include('compat.inc');
    
    if (description)
    {
      script_id(135032);
      script_version("1.3");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/04/24");
    
      script_cve_id(
        "CVE-2020-3885",
        "CVE-2020-3887",
        "CVE-2020-3894",
        "CVE-2020-3895",
        "CVE-2020-3897",
        "CVE-2020-3899",
        "CVE-2020-3900",
        "CVE-2020-3901",
        "CVE-2020-3902",
        "CVE-2020-3909",
        "CVE-2020-3910",
        "CVE-2020-3911",
        "CVE-2020-9783"
      );
      script_xref(name:"APPLE-SA", value:"HT211105");
      script_xref(name:"APPLE-SA", value:"APPLE-SA-2020-03-20");
    
      script_name(english:"Apple iTunes < 12.10.5 Multiple Vulnerabilities (credentialed check) (HT211105)");
    
      script_set_attribute(attribute:"synopsis", value:
    "An application installed on the remote host 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.10.5. It is, therefore, affected by
    multiple vulnerabilities as referenced in the HT211105 advisory. Note that Nessus has not tested for this issue but has
    instead relied only on the application's self-reported version number.
    
    
      - A buffer overflow issue in libxm12 had issues with size validation and buffer overflow. 
        (CVE-2020-3910, CVE-2020-3909, CVE-2020-3911)
    
      - A type confusion issue in WebKit could lead to the execution of malicious crafted code 
        (CVE-2020-3901)
    
      - A Memory corruption issue in WebKit could cause a arbitary code execution vulnerability 
        (CVE-2020-3895, CVE-2020-3900)
    
       Additional vulnerabilities are detailed HT211105 in the advisory.");
      script_set_attribute(attribute:"see_also", value:"https://support.apple.com/en-us/HT211105");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to Apple iTunes version 12.10.5 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:POC/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:P/RL:O/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2020-3900");
    
      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:"2020/03/20");
      script_set_attribute(attribute:"patch_publication_date", value:"2020/03/20");
      script_set_attribute(attribute:"plugin_publication_date", value:"2020/03/31");
    
      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) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("itunes_detect.nasl");
      script_require_keys("installed_sw/iTunes Version", "SMB/Registry/Enumerated");
    
      exit(0);
    }
    include('vcf.inc');
    
    get_kb_item_or_exit('SMB/Registry/Enumerated');
    
    app_info = vcf::get_app_info(app:'iTunes Version', win_local:TRUE);
    constraints = [{'fixed_version':'12.10.5'}];
    vcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_HOLE);
    
  • NASL familyMisc.
    NASL idAPPLETV_13_4.NASL
    descriptionAccording to its banner, the version of Apple TV on the remote device is prior to 13.4. It is therefore affected by multiple vulnerabilities as described in the HT211101
    last seen2020-04-30
    modified2020-04-21
    plugin id135855
    published2020-04-21
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/135855
    titleApple TV < 13.4 Multiple Vulnerabilities
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include('compat.inc');
    
    if (description)
    {
      script_id(135855);
      script_version("1.3");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/04/24");
    
      script_cve_id(
        "CVE-2020-3883",
        "CVE-2020-3885",
        "CVE-2020-3887",
        "CVE-2020-3894",
        "CVE-2020-3895",
        "CVE-2020-3897",
        "CVE-2020-3899",
        "CVE-2020-3900",
        "CVE-2020-3901",
        "CVE-2020-3902",
        "CVE-2020-3909",
        "CVE-2020-3910",
        "CVE-2020-3911",
        "CVE-2020-3914",
        "CVE-2020-3917",
        "CVE-2020-3919",
        "CVE-2020-9768",
        "CVE-2020-9773",
        "CVE-2020-9783",
        "CVE-2020-9785"
      );
      script_xref(name:"APPLE-SA", value:"HT211101");
      script_xref(name:"APPLE-SA", value:"APPLE-SA-2020-03-20");
    
      script_name(english:"Apple TV < 13.4 Multiple Vulnerabilities");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote Apple TV device is affected by multiple vulnerabilities");
      script_set_attribute(attribute:"description", value:
    "According to its banner, the version of Apple TV on the remote device is prior to 13.4. It is therefore affected by
    multiple vulnerabilities as described in the HT211101");
      script_set_attribute(attribute:"see_also", value:"https://support.apple.com/en-us/HT211101");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to Apple TV version 13.4 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:POC/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2020-9785");
    
      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:"2020/03/20");
      script_set_attribute(attribute:"patch_publication_date", value:"2020/03/20");
      script_set_attribute(attribute:"plugin_publication_date", value:"2020/04/21");
    
      script_set_attribute(attribute:"plugin_type", value:"remote");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:apple:apple_tv");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Misc.");
    
      script_copyright(english:"This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("appletv_version.nasl");
      script_require_keys("AppleTV/Version", "AppleTV/Model", "AppleTV/URL", "AppleTV/Port");
      script_require_ports("Services/www", 7000);
    
      exit(0);
    }
    
    include('audit.inc');
    include('appletv_func.inc');
    
    url = get_kb_item('AppleTV/URL');
    if (empty_or_null(url)) exit(0, 'Cannot determine Apple TV URL.');
    
    port = get_kb_item('AppleTV/Port');
    if (empty_or_null(port)) exit(0, 'Cannot determine Apple TV port.');
    
    build = get_kb_item('AppleTV/Version');
    if (empty_or_null(build)) audit(AUDIT_UNKNOWN_DEVICE_VER, 'Apple TV');
    
    model = get_kb_item('AppleTV/Model');
    if (empty_or_null(model)) exit(0, 'Cannot determine Apple TV model.');
    
    fixed_build = '17L256';
    tvos_ver = '13.4';
    
    # determine gen from the model
    gen = APPLETV_MODEL_GEN[model];
    
    appletv_check_version(
      build          : build,
      fix            : fixed_build,
      affected_gen   : make_list(4, 5),
      fix_tvos_ver   : tvos_ver,
      model          : model,
      gen            : gen,
      port           : port,
      url            : url,
      severity       : SECURITY_HOLE
    );
    
  • NASL familyMacOS X Local Security Checks
    NASL idMACOS_HT211100.NASL
    descriptionThe remote host is running a version of macOS / Mac OS X that is 10.13.x prior to 10.13.6 Security Update 2020-002, 10.14.x prior to 10.14.6 Security Update 2020-002, or 10.15.x prior to 10.15.4. It is, therefore, affected by multiple vulnerabilities : - Insufficient control flow in certain data structures for some Intel(R) Processors with Intel(R) Processor Graphics may allow an unauthenticated user to potentially enable information disclosure via local access. (CVE-2019-14615) - ** DISPUTED ** In Sudo through 1.8.29, an attacker with access to a Runas ALL sudoer account can impersonate a nonexistent user by invoking sudo with a numeric uid that is not associated with any user. NOTE: The software maintainer believes that this is not a vulnerability because running a command via sudo as a user not present in the local password database is an intentional feature. Because this behavior surprised some users, sudo 1.8.30 introduced an option to enable/disable this behavior with the default being disabled. However, this does not change the fact that sudo was behaving as intended, and as documented, in earlier versions. (CVE-2019-19232) - An out-of-bounds read error exists in Bluetooth due to improper input sanitization. An attacker can exploit this to read restricted memory. (CVE-2019-8853) - Privilege escalation vulnerabilities exist in IOThunderboltFamily (due to a use-after-free flaw), and in CUPS (due to a memory corruption issue). An attacker can exploit this to gain elevated access to the system. (CVE-2020-3851, CVE-2020-3898) - An information disclosure vulnerability exists in FaceTime, Icons, and Call History. An unauthenticated, local attacker can exploit this, via malicious applications, to disclose potentially sensitive information. (CVE-2020-3881, CVE-2020-9773, CVE-2020-9776) - An information disclosure vulnerability exists in Sandbox. A local user can exploit this to view sensitvie user information. (CVE-2020-3918) - An unspecified issue exists in AppleMobileFileIntegrity due to an unspecified reason. An attacker can exploit this to use arbitrary entitlements. (CVE-2020-3883) - An arbitrary code execution vulnerability exists in Mail due to improper input validation. An unauthenticated, remote attacker can exploit this to bypass authentication and execute arbitrary JavaScript code. (CVE-2020-3884) - An arbitrary file read vulnerability exists in Time Machine due to improper state management. An unauthenticated, local attacker can exploit this to read arbitrary files and disclose sensitive information. (CVE-2020-3889) - An arbitrary code execution vulnerability exists in AppleGraphicsControl, Bluetooth, IOHIDFamily, and the kernel due to memory initialization and corruption issues. An attacker can exploit this to bypass authentication and execute arbitrary commands with kernel privileges. (CVE-2020-3892, CVE-2020-3893, CVE-2020-3904, CVE-2020-3905, CVE-2020-3919, CVE-2020-9785) - An arbitrary code execution vulnerability exists in Apple HSSPI Support due to a memory corruption issue. An attacker can exploit this to bypass authentication and execute arbitrary commands with system privileges. (CVE-2020-3903) - A logic issue exists in TCC due to an unspecified reason. An attacker can exploit this, via a maliciously crafted application, to cause bypass code signing. (CVE-2020-3906) - An out-of-bounds read error exists in Bluetooth due to improper input validation. An unauthenticated local attacker can exploit this to cause a denial of service or read kernel memory. (CVE-2020-3907, CVE-2020-3908, CVE-2020-3912) - A buffer overflow condition exists in libxml2 due to improper bounds checking and size validation. An attacker can exploit this to cause a denial of service condition or the execution of arbitrary code. (CVE-2020-3909, CVE-2020-3910, CVE-2020-3911) - A privilege escalation vulnerability exists in due to improper permission validation. An unauthenticated, remote attacker can exploit this, to gain elevated access to the system. (CVE-2020-3913) - An information disclosure vulnerability exists in the kernel due to improper memory handling. An attacker can exploit this to read restricted memory. (CVE-2020-3914) - An arbitrary file overwrite vulnerability exists in Printing due improper path handlng. An attacker can exploit this to overwrite arbitrary files. (CVE-2020-3915) - Multiple unspecified issues exist in the Vim installation on macOS. An attacker can exploit this to cause an unknown impact. (CVE-2020-9769) - An unspecified vulnerability exists in sysdiagnose due to insufficient validation of user supplied input. An attacker could exploit this issue with partial impact on the confidentiality, integrity & availability of the application and/or system. (CVE-2020-9786) - An vulnerability exists in WebKit due to a logic flaw in restrictions. An attacker may exploit this flaw, as part of a more elaborate attack, to gain unauthorized access to the MacOS camera. (CVE-2020-9787) Note that Nessus has not tested for this issue but has instead relied only on the operating system
    last seen2020-05-31
    modified2020-03-27
    plugin id134954
    published2020-03-27
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/134954
    titlemacOS 10.15.x < 10.15.4 / 10.14.x < 10.14.6 Security Update 2020-002 / 10.13.x < 10.13.6 Security Update 2020-002
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include('compat.inc');
    
    if (description)
    {
      script_id(134954);
      script_version("1.5");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/05/29");
    
      script_cve_id(
        "CVE-2019-8853",
        "CVE-2019-14615",
        "CVE-2019-19232",
        "CVE-2020-3851",
        "CVE-2020-3881",
        "CVE-2020-3883",
        "CVE-2020-3884",
        "CVE-2020-3889",
        "CVE-2020-3892",
        "CVE-2020-3893",
        "CVE-2020-3898",
        "CVE-2020-3903",
        "CVE-2020-3904",
        "CVE-2020-3905",
        "CVE-2020-3906",
        "CVE-2020-3907",
        "CVE-2020-3908",
        "CVE-2020-3909",
        "CVE-2020-3910",
        "CVE-2020-3911",
        "CVE-2020-3912",
        "CVE-2020-3913",
        "CVE-2020-3914",
        "CVE-2020-3915",
        "CVE-2020-3918",
        "CVE-2020-3919",
        "CVE-2020-9769",
        "CVE-2020-9773",
        "CVE-2020-9776",
        "CVE-2020-9785",
        "CVE-2020-9786",
        "CVE-2020-9787"
      );
      script_xref(name:"APPLE-SA", value:"HT211100");
      script_xref(name:"APPLE-SA", value:"APPLE-SA-2020-03-20");
      script_xref(name:"IAVA", value:"2020-A-0120-S");
    
      script_name(english:"macOS 10.15.x < 10.15.4 / 10.14.x < 10.14.6 Security Update 2020-002 / 10.13.x < 10.13.6 Security Update 2020-002");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote host is missing a macOS update that fixes multiple vulnerabilities");
      script_set_attribute(attribute:"description", value:
    "The remote host is running a version of macOS / Mac OS X that is 10.13.x prior to 10.13.6 Security Update 2020-002,
    10.14.x prior to 10.14.6 Security Update 2020-002, or 10.15.x prior to 10.15.4. It is, therefore, affected by multiple
    vulnerabilities :
    
      - Insufficient control flow in certain data structures for some Intel(R) Processors with Intel(R) Processor
        Graphics may allow an unauthenticated user to potentially enable information disclosure via local access.
        (CVE-2019-14615)
    
      - ** DISPUTED ** In Sudo through 1.8.29, an attacker with access to a Runas ALL sudoer account can
        impersonate a nonexistent user by invoking sudo with a numeric uid that is not associated with any user.
        NOTE: The software maintainer believes that this is not a vulnerability because running a command via sudo
        as a user not present in the local password database is an intentional feature. Because this behavior
        surprised some users, sudo 1.8.30 introduced an option to enable/disable this behavior with the default
        being disabled. However, this does not change the fact that sudo was behaving as intended, and as
        documented, in earlier versions. (CVE-2019-19232)
    
      - An out-of-bounds read error exists in Bluetooth due to improper input sanitization. An attacker can
        exploit this to read restricted memory. (CVE-2019-8853)
    
      - Privilege escalation vulnerabilities exist in IOThunderboltFamily (due to a use-after-free flaw), and in
        CUPS (due to a memory corruption issue). An attacker can exploit this to gain elevated access to the 
        system. (CVE-2020-3851, CVE-2020-3898)
    
      - An information disclosure vulnerability exists in FaceTime, Icons, and Call History. An unauthenticated,
        local attacker can exploit this, via malicious applications, to disclose potentially sensitive
        information. (CVE-2020-3881, CVE-2020-9773, CVE-2020-9776)
    
      - An information disclosure vulnerability exists in Sandbox. A local user can exploit this to view
        sensitvie user information. (CVE-2020-3918)
    
      - An unspecified issue exists in AppleMobileFileIntegrity due to an unspecified reason. An attacker can
        exploit this to use arbitrary entitlements. (CVE-2020-3883)
    
      - An arbitrary code execution vulnerability exists in Mail due to improper input validation. An
        unauthenticated, remote attacker can exploit this to bypass authentication and execute arbitrary
        JavaScript code. (CVE-2020-3884)
    
      - An arbitrary file read vulnerability exists in Time Machine due to improper state management. An
        unauthenticated, local attacker can exploit this to read arbitrary files and disclose sensitive
        information. (CVE-2020-3889)
    
      - An arbitrary code execution vulnerability exists in AppleGraphicsControl, Bluetooth, IOHIDFamily, and the
        kernel due to memory initialization and corruption issues. An attacker can exploit this to bypass
        authentication and execute arbitrary commands with kernel privileges. (CVE-2020-3892, CVE-2020-3893,
        CVE-2020-3904, CVE-2020-3905, CVE-2020-3919, CVE-2020-9785)
    
      - An arbitrary code execution vulnerability exists in Apple HSSPI Support due to a memory corruption issue.
        An attacker can exploit this to bypass authentication and execute arbitrary commands with system
        privileges. (CVE-2020-3903)
    
      - A logic issue exists in TCC due to an unspecified reason. An attacker can exploit this, via a maliciously
        crafted application, to cause bypass code signing. (CVE-2020-3906)
    
      - An out-of-bounds read error exists in Bluetooth due to improper input validation. An unauthenticated local
        attacker can exploit this to cause a denial of service or read kernel memory. (CVE-2020-3907,
        CVE-2020-3908, CVE-2020-3912)
    
      - A buffer overflow condition exists in libxml2 due to improper bounds checking and size validation. An
        attacker can exploit this to cause a denial of service condition or the execution of arbitrary code.
        (CVE-2020-3909, CVE-2020-3910, CVE-2020-3911)
    
      - A privilege escalation vulnerability exists in due to improper permission validation. An unauthenticated,
        remote attacker can exploit this, to gain elevated access to the system. (CVE-2020-3913)
    
      - An information disclosure vulnerability exists in the kernel due to improper memory handling. An attacker
        can exploit this to read restricted memory. (CVE-2020-3914)
    
      - An arbitrary file overwrite vulnerability exists in Printing due improper path handlng. An attacker can 
        exploit this to overwrite arbitrary files. (CVE-2020-3915)
    
      - Multiple unspecified issues exist in the Vim installation on macOS. An attacker can exploit this to cause
        an unknown impact. (CVE-2020-9769)
    
      - An unspecified vulnerability exists in sysdiagnose due to insufficient validation of user supplied input. 
        An attacker could exploit this issue with partial impact on the confidentiality, integrity & availability
        of the application and/or system. (CVE-2020-9786)
    
      - An vulnerability exists in WebKit due to a logic flaw in restrictions. An attacker may exploit this flaw,
        as part of a more elaborate attack, to gain unauthorized access to the MacOS camera. (CVE-2020-9787)
    
    Note that Nessus has not tested for this issue but has instead relied only on the operating system's self-reported
    version number.");
      script_set_attribute(attribute:"see_also", value:"https://support.apple.com/en-us/HT211100");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to macOS 10.15.4 / 10.14.x < 10.14.6 Security Update 2020-002 / 10.13.x < 10.13.6 Security Update 2020-002 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:U/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2020-9785");
    
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/12/19");
      script_set_attribute(attribute:"patch_publication_date", value:"2020/03/20");
      script_set_attribute(attribute:"plugin_publication_date", value:"2020/03/27");
    
      script_set_attribute(attribute:"plugin_type", value:"combined");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:apple:mac_os_x");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:apple:macos");
      script_set_attribute(attribute:"stig_severity", value:"I");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"MacOS X Local Security Checks");
    
      script_copyright(english:"This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("ssh_get_info.nasl", "os_fingerprint.nasl");
      script_require_ports("Host/MacOSX/Version", "Host/OS");
    
      exit(0);
    }
    
    include('vcf.inc');
    include('lists.inc');
    include('vcf_extras_apple.inc');
    
    app_info = vcf::apple::macos::get_app_info();
    
    constraints = [
      { 'max_version' : '10.13.6', 'min_version' : '10.13', 'fixed_build' : '17G12034', 'fixed_display' : '10.13.6 Security Update 2020-002' },
      { 'max_version' : '10.14.6', 'min_version' : '10.14', 'fixed_build' : '18G4032', 'fixed_display' : '10.14.6 Security Update 2020-002' },
      { 'max_version' : '10.15.3', 'min_version' : '10.15', 'fixed_version' : '10.15.4', 'fixed_display' : 'macOS Catalina 10.15.4' }
    ];
    
    vcf::apple::macos::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_HOLE);
    
  • NASL familyPeer-To-Peer File Sharing
    NASL idITUNES_12_10_5_BANNER.NASL
    descriptionThe version of Apple iTunes installed on the remote Windows host is prior to 12.10.5. It is, therefore, affected by multiple vulnerabilities as referenced in the HT211105 advisory. Note that Nessus has not tested for this issue but has instead relied only on the application
    last seen2020-04-30
    modified2020-03-31
    plugin id135031
    published2020-03-31
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/135031
    titleApple iTunes < 12.10.5 Multiple Vulnerabilities (uncredentialed check) (HT211105)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include('compat.inc');
    
    if (description)
    {
      script_id(135031);
      script_version("1.3");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/04/24");
    
      script_cve_id(
        "CVE-2020-3885",
        "CVE-2020-3887",
        "CVE-2020-3894",
        "CVE-2020-3895",
        "CVE-2020-3897",
        "CVE-2020-3899",
        "CVE-2020-3900",
        "CVE-2020-3901",
        "CVE-2020-3902",
        "CVE-2020-3909",
        "CVE-2020-3910",
        "CVE-2020-3911",
        "CVE-2020-9783"
      );
      script_xref(name:"APPLE-SA", value:"HT211105");
      script_xref(name:"APPLE-SA", value:"APPLE-SA-2020-03-20");
    
      script_name(english:"Apple iTunes < 12.10.5 Multiple Vulnerabilities (uncredentialed check) (HT211105)");
    
      script_set_attribute(attribute:"synopsis", value:
    "An application installed on the remote host 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.10.5. It is, therefore, affected by
    multiple vulnerabilities as referenced in the HT211105 advisory. Note that Nessus has not tested for this issue but has
    instead relied only on the application's self-reported version number.
    
      - A buffer overflow issue in libxm12 had issues with size validation and buffer overflow. 
        (CVE-2020-3910, CVE-2020-3909, CVE-2020-3911)
    
      - A type confusion issue in WebKit could lead to the execution of malicious crafted code 
        (CVE-2020-3901)
    
      - A Memory corruption issue in WebKit could cause a arbitary code execution vulnerability 
        (CVE-2020-3895, CVE-2020-3900)
    
       Additional vulnerabilities are detailed HT211105 in the advisory.");
      script_set_attribute(attribute:"see_also", value:"https://support.apple.com/en-us/HT211105");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to Apple iTunes version 12.10.5 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:POC/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:P/RL:O/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2020-3900");
    
      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:"2020/03/20");
      script_set_attribute(attribute:"patch_publication_date", value:"2020/03/20");
      script_set_attribute(attribute:"plugin_publication_date", value:"2020/03/31");
    
      script_set_attribute(attribute:"plugin_type", value:"remote");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:apple:itunes");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Peer-To-Peer File Sharing");
    
      script_copyright(english:"This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("itunes_sharing.nasl");
      script_require_keys("installed_sw/iTunes DAAP");
      script_require_ports("Services/www", 3689);
    
      exit(0);
    }
    include('http.inc');
    include('vcf.inc');
    
    app = 'iTunes DAAP';
    port = get_http_port(default:3689, embedded:TRUE, ignore_broken:TRUE);
    
    app_info = vcf::get_app_info(app:app, port:port);
    if (app_info.Type != 'Windows') audit(AUDIT_OS_NOT, 'Windows');
    constraints = [{'fixed_version':'12.10.5'}];
    vcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_HOLE);