Lucene search

K
nessusThis script is Copyright (C) 2023 and is owned by Tenable, Inc. or an Affiliate thereof.INTEL_SA_00717_CVE-2022-30704.NASL
HistoryDec 19, 2023 - 12:00 a.m.

Intel BIOS Firmware CVE-2022-30704 (INTEL-SA-00717)

2023-12-1900:00:00
This script is Copyright (C) 2023 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
12
intel bios firmware
vulnerability
privileged user
escalation of privilege
local access
intel-sa-00717
cve-2022-30704

7.3 High

AI Score

Confidence

High

The version of the Intel BIOS on the remote device is affected by a vulnerability as identified in the INTEL-SA-00717 advisory.

  • Improper initialization in the Intel® TXT SINIT ACM for some Intel® Processors may allow a privileged user to potentially enable escalation of privilege via local access. (CVE-2022-30704)

Note that Nessus has not tested for this issue but has instead relied only on the application’s self-reported version number.

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

include('compat.inc');

if (description)
{
  script_id(187097);
  script_version("1.2");
  script_set_attribute(attribute:"plugin_modification_date", value:"2023/12/21");

  script_cve_id("CVE-2022-30704");

  script_name(english:"Intel BIOS Firmware CVE-2022-30704 (INTEL-SA-00717)");

  script_set_attribute(attribute:"synopsis", value:
"The BIOS firmware on the remote host is affected by CVE-2022-30704.");
  script_set_attribute(attribute:"description", value:
"The version of the Intel BIOS on the remote device is affected by a vulnerability as identified in the INTEL-SA-00717
advisory.

  - Improper initialization in the Intel(R) TXT SINIT ACM for some Intel(R) Processors may allow a privileged
    user to potentially enable escalation of privilege via local access. (CVE-2022-30704)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
number.");
  # https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00717.html
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?d5385b3b");
  script_set_attribute(attribute:"solution", value:
"Contact your system OEM for updated firmware per the vendor advisory.");
  script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:M/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:H/UI:N/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-2022-30704");

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

  script_set_attribute(attribute:"vuln_publication_date", value:"2023/02/14");
  script_set_attribute(attribute:"patch_publication_date", value:"2023/02/14");
  script_set_attribute(attribute:"plugin_publication_date", value:"2023/12/19");

  script_set_attribute(attribute:"potential_vulnerability", value:"true");
  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Misc.");

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

  script_dependencies("intel_cpuid_detection.nbin");
  script_require_keys("SMB/WMI/Available", "Settings/ParanoidReport");

  exit(0);
}

if (report_paranoia < 2) audit(AUDIT_PARANOID);

var processor_id = get_kb_item_or_exit('Host/cpu/cpuid');

var vuln_processors = [
  {
    'Product Collection': '11th Generation Intel Core Processor Family',
    'Vertical Segment': 'Mobile',
    'CPU ID': [
      '806C1',
      '806C2',
      '806D1'
    ],
    'CVE ID': 'CVE-2022-30704',
    'Platform ID': '80 C2'
  },
  {
    'Product Collection': '12th Generation Intel Core Processor Family Intel Pentium Gold Processor Family Intel Celeron Processor Family',
    'Vertical Segment': 'Desktop Mobile',
    'CPU ID': [
      '90672',
      '90675',
      '906A3',
      '906A4'
    ],
    'CVE ID': 'CVE-2022-30704',
    'Platform ID': '01'
  },
  {
    'Product Collection': '11th Generation Intel Core Processor Family 10th Generation Intel Core Processor Family Intel Xeon E-2300 processor family Intel Xeon W processor family',
    'Vertical Segment': 'Desktop Server Workstation',
    'CPU ID': [
      'A0653',
      'A0671'
    ],
    'CVE ID': 'CVE-2022-30704',
    'Platform ID': '01'
  }
];

var cpuids, report = FALSE;
foreach (var processor in vuln_processors)
{
  cpuids = processor['CPU ID'];
  foreach (var cpuid in cpuids)
  {
    if (processor_id == cpuid)
    {
      report  = 'Installed CPU ID : ' + cpuid + '\n';
      report += 'Installed CPU(s) : ' + processor['Product Collection'] + '\n';
      security_report_v4(port:135, severity:SECURITY_WARNING, extra:report);
      exit(0);
    }
  }
}

audit(AUDIT_INST_VER_NOT_VULN, 'The Intel® processor');

7.3 High

AI Score

Confidence

High

Related for INTEL_SA_00717_CVE-2022-30704.NASL