SUSE SLED15 / SLES15 / openSUSE 15 Security Update : tpm2-0-tss (SUSE-SU-2023:0526-1)

medium Nessus Plugin ID 171949

Language:

Synopsis

The remote SUSE host is missing a security update.

Description

The remote SUSE Linux SLED15 / SLED_SAP15 / SLES15 / SLES_SAP15 / openSUSE 15 host has packages installed that are affected by a vulnerability as referenced in the SUSE-SU-2023:0526-1 advisory.

- tpm2-tss is an open source software implementation of the Trusted Computing Group (TCG) Trusted Platform Module (TPM) 2 Software Stack (TSS2). In affected versions `Tss2_RC_SetHandler` and `Tss2_RC_Decode` both index into `layer_handler` with an 8 bit layer number, but the array only has `TPM2_ERROR_TSS2_RC_LAYER_COUNT` entries, so trying to add a handler for higher-numbered layers or decode a response code with such a layer number reads/writes past the end of the buffer. This Buffer overrun, could result in arbitrary code execution. An example attack would be a MiTM bus attack that returns 0xFFFFFFFF for the RC. Given the common use case of TPM modules an attacker must have local access to the target machine with local system privileges which allows access to the TPM system. Usually TPM access requires administrative privilege. (CVE-2023-22745)

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

Solution

Update the affected packages.

See Also

https://bugzilla.suse.com/1207325

https://www.suse.com/security/cve/CVE-2023-22745

http://www.nessus.org/u?64f5bdf7

Plugin Details

Severity: Medium

ID: 171949

File Name: suse_SU-2023-0526-1.nasl

Version: 1.3

Type: local

Agent: unix

Published: 2/28/2023

Updated: 7/14/2023

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 5.9

Temporal Score: 4.6

Vector: CVSS2#AV:L/AC:H/Au:M/C:C/I:C/A:C

CVSS Score Source: CVE-2023-22745

CVSS v3

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5.8

Vector: CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:novell:suse_linux:libtss2-rc0, p-cpe:/a:novell:suse_linux:libtss2-fapi1, p-cpe:/a:novell:suse_linux:libtss2-tcti-swtpm0, p-cpe:/a:novell:suse_linux:libtss2-sys1, p-cpe:/a:novell:suse_linux:tpm2-0-tss, p-cpe:/a:novell:suse_linux:libtss2-mu0, p-cpe:/a:novell:suse_linux:libtss2-tcti-cmd0, p-cpe:/a:novell:suse_linux:libtss2-tcti-pcap0, p-cpe:/a:novell:suse_linux:tpm2-0-tss-devel, p-cpe:/a:novell:suse_linux:libtss2-esys0, p-cpe:/a:novell:suse_linux:libtss2-tctildr0, p-cpe:/a:novell:suse_linux:libtss2-tcti-mssim0, p-cpe:/a:novell:suse_linux:libtss2-tcti-device0, cpe:/o:novell:suse_linux:15

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/SuSE/release, Host/SuSE/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/27/2023

Vulnerability Publication Date: 1/10/2023

Reference Information

CVE: CVE-2023-22745

SuSE: SUSE-SU-2023:0526-1