Lucene search

K
nessusThis script is Copyright (C) 2018-2024 and is owned by Tenable, Inc. or an Affiliate thereof.MACOSX_GOOGLE_SANTA_0_9_25.NASL
HistoryJun 13, 2018 - 12:00 a.m.

Google Santa Code Signing Bypass (macOS)

2018-06-1300:00:00
This script is Copyright (C) 2018-2024 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
35

CVSS2

6.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS3

7.8

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.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

AI Score

7.4

Confidence

High

EPSS

0.001

Percentile

30.8%

The installed version of Google Santa is less than 0.9.25 and is therefore vulnerable to allowing execution of malicious binaries due to accepting forged Apple signatures.

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

include('compat.inc');

if (description)
{
  script_id(110519);
  script_version("1.6");
  script_set_attribute(attribute:"plugin_modification_date", value:"2024/09/20");

  script_cve_id("CVE-2018-10405");

  script_name(english:"Google Santa Code Signing Bypass (macOS)");

  script_set_attribute(attribute:"synopsis", value:
"A binary whitelisting and blacklisting application installed on
the remote macOS or Mac OS X host is vulnerable to accepting forged 
Apple signatures.");
  script_set_attribute(attribute:"description", value:
"The installed version of Google Santa is less than 0.9.25 and is 
therefore vulnerable to allowing execution of malicious binaries due 
to accepting forged Apple signatures.");
  # https://www.okta.com/security-blog/2018/06/issues-around-third-party-apple-code-signing-checks/
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?8e9d177b");
  script_set_attribute(attribute:"see_also", value:"https://github.com/google/santa/releases/tag/0.9.25");
  script_set_attribute(attribute:"see_also", value:"https://github.com/google/santa");
  script_set_attribute(attribute:"solution", value:
"Update Google Santa to version 0.9.25 or higher.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
  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-2018-10405");

  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:"2018/06/12");
  script_set_attribute(attribute:"patch_publication_date", value:"2018/04/24");
  script_set_attribute(attribute:"plugin_publication_date", value:"2018/06/13");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"x-cpe:/a:google:santa");
  script_end_attributes();

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

  script_copyright(english:"This script is Copyright (C) 2018-2024 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("macosx_google_santa_installed.nbin");
  script_require_keys("installed_sw/Santa");

  exit(0);
}

include("vcf.inc");

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

vcf::check_granularity(app_info:app_info, sig_segments:3);

constraints = [
  { "min_version" : "0.0.0", "fixed_version" : "0.9.25" }
];

vcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_WARNING);

CVSS2

6.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS3

7.8

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.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

AI Score

7.4

Confidence

High

EPSS

0.001

Percentile

30.8%

Related for MACOSX_GOOGLE_SANTA_0_9_25.NASL