CentOS 9 : tuned-2.24.0-2.el9

high Nessus Plugin ID 212093

Synopsis

The remote CentOS host is missing one or more security updates for tuned.

Description

The remote CentOS Linux 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the tuned-2.24.0-2.el9 build changelog.

- A script injection vulnerability was identified in the Tuned package. The `instance_create()` D-Bus function can be called by locally logged-in users without authentication. This flaw allows a local non- privileged user to execute a D-Bus call with `script_pre` or `script_post` options that permit arbitrary scripts with their absolute paths to be passed. These user or attacker-controlled executable scripts or programs could then be executed by Tuned with root privileges that could allow attackers to local privilege escalation. (CVE-2024-52336)

- A log spoofing flaw was found in the Tuned package due to improper sanitization of some API arguments.
This flaw allows an attacker to pass a controlled sequence of characters; newlines can be inserted into the log. Instead of the 'evil' the attacker could mimic a valid TuneD log line and trick the administrator. The quotes '' are usually used in TuneD logs citing raw user input, so there will always be the ' character ending the spoofed input, and the administrator can easily overlook this. This logged string is later used in logging and in the output of utilities, for example, `tuned-adm get_instances` or other third-party programs that use Tuned's D-Bus interface for such operations. (CVE-2024-52337)

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

Solution

Update the CentOS 9 Stream tuned package.

See Also

https://kojihub.stream.centos.org/koji/buildinfo?buildID=72354

Plugin Details

Severity: High

ID: 212093

File Name: centos9_tuned-2_24_0-2_72354.nasl

Version: 1.1

Type: local

Agent: unix

Published: 12/5/2024

Updated: 12/5/2024

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

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2024-52336

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

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

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

Vulnerability Information

CPE: p-cpe:/a:centos:centos:tuned-gtk, p-cpe:/a:centos:centos:tuned-profiles-atomic, p-cpe:/a:centos:centos:tuned-profiles-realtime, p-cpe:/a:centos:centos:tuned-profiles-nfv-guest, p-cpe:/a:centos:centos:tuned-profiles-cpu-partitioning, p-cpe:/a:centos:centos:tuned-profiles-mssql, p-cpe:/a:centos:centos:tuned-profiles-oracle, p-cpe:/a:centos:centos:tuned-profiles-compat, p-cpe:/a:centos:centos:tuned-utils, p-cpe:/a:centos:centos:tuned-profiles-nfv, p-cpe:/a:centos:centos:tuned-utils-systemtap, p-cpe:/a:centos:centos:tuned-profiles-openshift, p-cpe:/a:centos:centos:tuned-profiles-sap-hana, p-cpe:/a:centos:centos:tuned-profiles-sap, p-cpe:/a:centos:centos:tuned-profiles-spectrumscale, cpe:/a:centos:centos:9, p-cpe:/a:centos:centos:tuned-profiles-nfv-host, p-cpe:/a:centos:centos:tuned-ppd, p-cpe:/a:centos:centos:tuned-profiles-postgresql, p-cpe:/a:centos:centos:tuned

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

Exploit Ease: No known exploits are available

Patch Publication Date: 12/1/2024

Vulnerability Publication Date: 11/26/2024

Reference Information

CVE: CVE-2024-52336, CVE-2024-52337