Lucene search

K
nessusThis script is Copyright (C) 2023-2024 and is owned by Tenable, Inc. or an Affiliate thereof.MACOS_HT213985.NASL
HistoryOct 25, 2023 - 12:00 a.m.

macOS 13.x < 13.6.1 Multiple Vulnerabilities (HT213985)

2023-10-2500:00:00
This script is Copyright (C) 2023-2024 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
11
macos 13.x
multiple vulnerabilities
improved memory handling
permissions checks
denial-of-service
sensitive location information
arbitrary code execution
kernel privileges
endpoint security
sensitive user data
integer overflow
heap corruption
restrictions
bypass kernel memory mitigations

7.8 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

8.3 High

AI Score

Confidence

High

0.003 Low

EPSS

Percentile

65.9%

The remote host is running a version of macOS / Mac OS X that is 13.x prior to 13.6.1. It is, therefore, affected by multiple vulnerabilities:

  • The issue was addressed with improved memory handling. This issue is fixed in iOS 17.1 and iPadOS 17.1, macOS Monterey 12.7.1, iOS 16.7.2 and iPadOS 16.7.2, macOS Ventura 13.6.1, macOS Sonoma 14.1. An app may be able to cause a denial-of-service. (CVE-2023-40449)

  • The issue was resolved by sanitizing logging This issue is fixed in watchOS 10.1, macOS Sonoma 14.1, tvOS 17.1, macOS Monterey 12.7.1, iOS 16.7.2 and iPadOS 16.7.2, iOS 17.1 and iPadOS 17.1, macOS Ventura 13.6.1.
    An app may be able to access user-sensitive data. (CVE-2023-42823)

  • This issue was addressed by removing the vulnerable code. This issue is fixed in macOS Sonoma 14.1, macOS Monterey 12.7.1, macOS Ventura 13.6.1. An app may be able to cause a denial-of-service to Endpoint Security clients. (CVE-2023-42854)

  • The issue was addressed with improved handling of caches. This issue is fixed in iOS 17.1 and iPadOS 17.1, macOS Monterey 12.7.1, watchOS 10.1, iOS 16.7.2 and iPadOS 16.7.2, macOS Ventura 13.6.1, macOS Sonoma 14.1. An app may be able to read sensitive location information. (CVE-2023-40413)

  • This issue was addressed with improved handling of symlinks. This issue is fixed in macOS Sonoma 14.1, macOS Monterey 12.7.1, macOS Ventura 13.6.1. A website may be able to access sensitive user data when resolving symlinks. (CVE-2023-42844)

  • The issue was addressed with improved checks. This issue is fixed in macOS Ventura 13.6.1. An app may be able to access protected user data. (CVE-2023-41077)

  • The issue was addressed with improved memory handling. This issue is fixed in iOS 17.1 and iPadOS 17.1, macOS Monterey 12.7.1, iOS 16.7.2 and iPadOS 16.7.2, macOS Ventura 13.6.1, macOS Sonoma 14.1. Processing an image may result in disclosure of process memory. (CVE-2023-40416)

  • The issue was addressed with improved bounds checks. This issue is fixed in watchOS 10.1, macOS Sonoma 14.1, tvOS 17.1, iOS 16.7.2 and iPadOS 16.7.2, iOS 17.1 and iPadOS 17.1, macOS Ventura 13.6.1. Processing a maliciously crafted image may lead to heap corruption. (CVE-2023-42848)

  • The issue was addressed with improved memory handling. This issue is fixed in iOS 17.1 and iPadOS 17.1, macOS Monterey 12.7.1, iOS 16.7.2 and iPadOS 16.7.2, macOS Ventura 13.6.1, macOS Sonoma 14.1. An app may be able to execute arbitrary code with kernel privileges. (CVE-2023-40423)

  • iperf3 before 3.14 allows peers to cause an integer overflow and heap corruption via a crafted length field. (CVE-2023-38403)

  • The issue was addressed with improved memory handling. This issue is fixed in iOS 17.1 and iPadOS 17.1, macOS Monterey 12.7.1, watchOS 10.1, iOS 16.7.2 and iPadOS 16.7.2, macOS Ventura 13.6.1, macOS Sonoma 14.1. An attacker that has already achieved kernel code execution may be able to bypass kernel memory mitigations. (CVE-2023-42849)

  • The issue was addressed with improved memory handling. This issue is fixed in macOS Monterey 12.7.1, iOS 16.7.2 and iPadOS 16.7.2, iOS 17.1 and iPadOS 17.1. Processing maliciously crafted input may lead to arbitrary code execution in user-installed apps. (CVE-2023-40446)

  • This issue was addressed with improved handling of symlinks. This issue is fixed in watchOS 10.1, macOS Sonoma 14.1, tvOS 17.1, iOS 16.7.2 and iPadOS 16.7.2, iOS 17.1 and iPadOS 17.1, macOS Ventura 13.6.1. A malicious app may be able to gain root privileges. (CVE-2023-42942)

  • The issue was addressed with improved memory handling. This issue is fixed in macOS Sonoma 14.1, macOS Monterey 12.7.1, macOS Ventura 13.6.1. Processing a file may lead to unexpected app termination or arbitrary code execution. (CVE-2023-42856)

  • The issue was addressed with improved checks. This issue is fixed in macOS Sonoma 14.1, macOS Monterey 12.7.1, macOS Ventura 13.6.1. An app may be able to modify protected parts of the file system.
    (CVE-2023-42859, CVE-2023-42877)

  • The issue was addressed with improved checks. This issue is fixed in macOS Sonoma 14.1, macOS Monterey 12.7.1, macOS Ventura 13.6.1. An app may be able to access user-sensitive data. (CVE-2023-42840, CVE-2023-42858)

  • The issue was addressed with improved checks. This issue is fixed in macOS Sonoma 14.1, macOS Monterey 12.7.1, macOS Ventura 13.6.1. An app may be able to bypass certain Privacy preferences. (CVE-2023-42889)

  • A logic issue was addressed with improved checks. This issue is fixed in macOS Sonoma 14.1, macOS Monterey 12.7.1, macOS Ventura 13.6.1. An app may be able to access user-sensitive data. (CVE-2023-42853)

  • A permissions issue was addressed with additional restrictions. This issue is fixed in macOS Sonoma 14.1, macOS Monterey 12.7.1, macOS Ventura 13.6.1. An app may be able to modify protected parts of the file system. (CVE-2023-42860)

  • The issue was addressed with additional permissions checks. This issue is fixed in macOS Ventura 13.6.1.
    An attacker may be able to access passkeys without authentication. (CVE-2023-40401)

  • The issue was addressed with improved memory handling. This issue is fixed in macOS Sonoma 14.1, iOS 17.1 and iPadOS 17.1, iOS 16.7.2 and iPadOS 16.7.2, macOS Ventura 13.6.1. An app may be able to execute arbitrary code with kernel privileges. (CVE-2023-42841)

  • The issue was addressed with improved bounds checks. This issue is fixed in macOS Sonoma 14.1, tvOS 17.1, macOS Monterey 12.7.1, iOS 16.7.2 and iPadOS 16.7.2, iOS 17.1 and iPadOS 17.1, macOS Ventura 13.6.1. An app may be able to execute arbitrary code with kernel privileges. (CVE-2023-42873)

  • Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: none. Reason: This candidate was withdrawn by its CNA. Further investigation showed that it was not a security issue. Notes: none. (CVE-2023-36191)

  • A permissions issue was addressed with additional restrictions. This issue is fixed in macOS Sonoma 14.1, macOS Monterey 12.7.1, macOS Ventura 13.6.1. An app may be able to access sensitive user data.
    (CVE-2023-40421)

  • A privacy issue was addressed with improved private data redaction for log entries. This issue is fixed in iOS 17.1 and iPadOS 17.1, watchOS 10.1, iOS 16.7.2 and iPadOS 16.7.2, macOS Ventura 13.6.1, macOS Sonoma 14.1. An app may be able to access sensitive user data. (CVE-2023-41254)

  • This issue was addressed by removing the vulnerable code. This issue is fixed in macOS Sonoma 14.1, macOS Monterey 12.7.1, macOS Ventura 13.6.1. A website may be able to access the microphone without the microphone use indicator being shown. (CVE-2023-41975)

Note that Nessus has not tested for these issues but has instead relied only on the operating system’s self-reported version number.

#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(183882);
  script_version("1.14");
  script_set_attribute(attribute:"plugin_modification_date", value:"2024/06/24");

  script_cve_id(
    "CVE-2023-36191",
    "CVE-2023-38403",
    "CVE-2023-40401",
    "CVE-2023-40413",
    "CVE-2023-40416",
    "CVE-2023-40421",
    "CVE-2023-40423",
    "CVE-2023-40446",
    "CVE-2023-40449",
    "CVE-2023-41077",
    "CVE-2023-41254",
    "CVE-2023-41975",
    "CVE-2023-42823",
    "CVE-2023-42840",
    "CVE-2023-42841",
    "CVE-2023-42844",
    "CVE-2023-42848",
    "CVE-2023-42849",
    "CVE-2023-42853",
    "CVE-2023-42854",
    "CVE-2023-42856",
    "CVE-2023-42858",
    "CVE-2023-42859",
    "CVE-2023-42860",
    "CVE-2023-42873",
    "CVE-2023-42877",
    "CVE-2023-42889",
    "CVE-2023-42942"
  );
  script_xref(name:"APPLE-SA", value:"HT213985");
  script_xref(name:"IAVA", value:"2023-A-0645");
  script_xref(name:"IAVA", value:"2023-A-0581-S");
  script_xref(name:"IAVA", value:"2024-A-0050-S");
  script_xref(name:"IAVA", value:"2024-A-0142-S");
  script_xref(name:"IAVA", value:"2024-A-0179-S");

  script_name(english:"macOS 13.x < 13.6.1 Multiple Vulnerabilities (HT213985)");

  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 13.x prior to 13.6.1. It is, therefore, affected by
multiple vulnerabilities:

  - The issue was addressed with improved memory handling. This issue is fixed in iOS 17.1 and iPadOS 17.1,
    macOS Monterey 12.7.1, iOS 16.7.2 and iPadOS 16.7.2, macOS Ventura 13.6.1, macOS Sonoma 14.1. An app may
    be able to cause a denial-of-service. (CVE-2023-40449)

  - The issue was resolved by sanitizing logging This issue is fixed in watchOS 10.1, macOS Sonoma 14.1, tvOS
    17.1, macOS Monterey 12.7.1, iOS 16.7.2 and iPadOS 16.7.2, iOS 17.1 and iPadOS 17.1, macOS Ventura 13.6.1.
    An app may be able to access user-sensitive data. (CVE-2023-42823)

  - This issue was addressed by removing the vulnerable code. This issue is fixed in macOS Sonoma 14.1, macOS
    Monterey 12.7.1, macOS Ventura 13.6.1. An app may be able to cause a denial-of-service to Endpoint
    Security clients. (CVE-2023-42854)

  - The issue was addressed with improved handling of caches. This issue is fixed in iOS 17.1 and iPadOS 17.1,
    macOS Monterey 12.7.1, watchOS 10.1, iOS 16.7.2 and iPadOS 16.7.2, macOS Ventura 13.6.1, macOS Sonoma
    14.1. An app may be able to read sensitive location information. (CVE-2023-40413)

  - This issue was addressed with improved handling of symlinks. This issue is fixed in macOS Sonoma 14.1,
    macOS Monterey 12.7.1, macOS Ventura 13.6.1. A website may be able to access sensitive user data when
    resolving symlinks. (CVE-2023-42844)

  - The issue was addressed with improved checks. This issue is fixed in macOS Ventura 13.6.1. An app may be
    able to access protected user data. (CVE-2023-41077)

  - The issue was addressed with improved memory handling. This issue is fixed in iOS 17.1 and iPadOS 17.1,
    macOS Monterey 12.7.1, iOS 16.7.2 and iPadOS 16.7.2, macOS Ventura 13.6.1, macOS Sonoma 14.1. Processing
    an image may result in disclosure of process memory. (CVE-2023-40416)

  - The issue was addressed with improved bounds checks. This issue is fixed in watchOS 10.1, macOS Sonoma
    14.1, tvOS 17.1, iOS 16.7.2 and iPadOS 16.7.2, iOS 17.1 and iPadOS 17.1, macOS Ventura 13.6.1. Processing
    a maliciously crafted image may lead to heap corruption. (CVE-2023-42848)

  - The issue was addressed with improved memory handling. This issue is fixed in iOS 17.1 and iPadOS 17.1,
    macOS Monterey 12.7.1, iOS 16.7.2 and iPadOS 16.7.2, macOS Ventura 13.6.1, macOS Sonoma 14.1. An app may
    be able to execute arbitrary code with kernel privileges. (CVE-2023-40423)

  - iperf3 before 3.14 allows peers to cause an integer overflow and heap corruption via a crafted length
    field. (CVE-2023-38403)

  - The issue was addressed with improved memory handling. This issue is fixed in iOS 17.1 and iPadOS 17.1,
    macOS Monterey 12.7.1, watchOS 10.1, iOS 16.7.2 and iPadOS 16.7.2, macOS Ventura 13.6.1, macOS Sonoma
    14.1. An attacker that has already achieved kernel code execution may be able to bypass kernel memory
    mitigations. (CVE-2023-42849)

  - The issue was addressed with improved memory handling. This issue is fixed in macOS Monterey 12.7.1, iOS
    16.7.2 and iPadOS 16.7.2, iOS 17.1 and iPadOS 17.1. Processing maliciously crafted input may lead to
    arbitrary code execution in user-installed apps. (CVE-2023-40446)

  - This issue was addressed with improved handling of symlinks. This issue is fixed in watchOS 10.1, macOS
    Sonoma 14.1, tvOS 17.1, iOS 16.7.2 and iPadOS 16.7.2, iOS 17.1 and iPadOS 17.1, macOS Ventura 13.6.1. A
    malicious app may be able to gain root privileges. (CVE-2023-42942)

  - The issue was addressed with improved memory handling. This issue is fixed in macOS Sonoma 14.1, macOS
    Monterey 12.7.1, macOS Ventura 13.6.1. Processing a file may lead to unexpected app termination or
    arbitrary code execution. (CVE-2023-42856)

  - The issue was addressed with improved checks. This issue is fixed in macOS Sonoma 14.1, macOS Monterey
    12.7.1, macOS Ventura 13.6.1. An app may be able to modify protected parts of the file system.
    (CVE-2023-42859, CVE-2023-42877)

  - The issue was addressed with improved checks. This issue is fixed in macOS Sonoma 14.1, macOS Monterey
    12.7.1, macOS Ventura 13.6.1. An app may be able to access user-sensitive data. (CVE-2023-42840,
    CVE-2023-42858)

  - The issue was addressed with improved checks. This issue is fixed in macOS Sonoma 14.1, macOS Monterey
    12.7.1, macOS Ventura 13.6.1. An app may be able to bypass certain Privacy preferences. (CVE-2023-42889)

  - A logic issue was addressed with improved checks. This issue is fixed in macOS Sonoma 14.1, macOS Monterey
    12.7.1, macOS Ventura 13.6.1. An app may be able to access user-sensitive data. (CVE-2023-42853)

  - A permissions issue was addressed with additional restrictions. This issue is fixed in macOS Sonoma 14.1,
    macOS Monterey 12.7.1, macOS Ventura 13.6.1. An app may be able to modify protected parts of the file
    system. (CVE-2023-42860)

  - The issue was addressed with additional permissions checks. This issue is fixed in macOS Ventura 13.6.1.
    An attacker may be able to access passkeys without authentication. (CVE-2023-40401)

  - The issue was addressed with improved memory handling. This issue is fixed in macOS Sonoma 14.1, iOS 17.1
    and iPadOS 17.1, iOS 16.7.2 and iPadOS 16.7.2, macOS Ventura 13.6.1. An app may be able to execute
    arbitrary code with kernel privileges. (CVE-2023-42841)

  - The issue was addressed with improved bounds checks. This issue is fixed in macOS Sonoma 14.1, tvOS 17.1,
    macOS Monterey 12.7.1, iOS 16.7.2 and iPadOS 16.7.2, iOS 17.1 and iPadOS 17.1, macOS Ventura 13.6.1. An
    app may be able to execute arbitrary code with kernel privileges. (CVE-2023-42873)

  - Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: none. Reason: This candidate was withdrawn
    by its CNA. Further investigation showed that it was not a security issue. Notes: none. (CVE-2023-36191)

  - A permissions issue was addressed with additional restrictions. This issue is fixed in macOS Sonoma 14.1,
    macOS Monterey 12.7.1, macOS Ventura 13.6.1. An app may be able to access sensitive user data.
    (CVE-2023-40421)

  - A privacy issue was addressed with improved private data redaction for log entries. This issue is fixed in
    iOS 17.1 and iPadOS 17.1, watchOS 10.1, iOS 16.7.2 and iPadOS 16.7.2, macOS Ventura 13.6.1, macOS Sonoma
    14.1. An app may be able to access sensitive user data. (CVE-2023-41254)

  - This issue was addressed by removing the vulnerable code. This issue is fixed in macOS Sonoma 14.1, macOS
    Monterey 12.7.1, macOS Ventura 13.6.1. A website may be able to access the microphone without the
    microphone use indicator being shown. (CVE-2023-41975)

Note that Nessus has not tested for these issues 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/HT213985");
  script_set_attribute(attribute:"solution", value:
"Upgrade to macOS 13.6.1 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N");
  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-2023-42844");
  script_set_attribute(attribute:"cvss3_score_source", value:"CVE-2023-42856");

  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");

  script_set_attribute(attribute:"vuln_publication_date", value:"2023/07/17");
  script_set_attribute(attribute:"patch_publication_date", value:"2023/10/25");
  script_set_attribute(attribute:"plugin_publication_date", value:"2023/10/25");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:apple:mac_os_x:13.0");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:apple:macos:13.0");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  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) 2023-2024 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("ssh_get_info.nasl");
  script_require_ports("Host/MacOSX/Version", "Host/local_checks_enabled", "Host/MacOSX/packages/boms");

  exit(0);
}

include('vcf.inc');
include('vcf_extras_apple.inc');

var app_info = vcf::apple::macos::get_app_info();

var constraints = [
  { 'fixed_version' : '13.6.1', 'min_version' : '13.0', 'fixed_display' : 'macOS Ventura 13.6.1' }
];

vcf::apple::macos::check_version_and_report(
    app_info:app_info,
    constraints:constraints,
    severity:SECURITY_HOLE
);
VendorProductVersionCPE
applemacos13.0cpe:/o:apple:macos:13.0
applemac_os_x13.0cpe:/o:apple:mac_os_x:13.0

References

7.8 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

8.3 High

AI Score

Confidence

High

0.003 Low

EPSS

Percentile

65.9%