CVE-2024-52336
JSON

7.8high

Tuned: `script_pre` and `script_post` options allow to pass arbitrary scripts executed by root

Severity
7.8high CVSS:3.1 by redhat
Exploit likelihood
0.34% (higher than 29% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

Description

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.

Affected

Product or packageVersionsReported by
tunedfrom 2.23.0 before 2.24.1
Not affected: from 0:2.24.0-2.1.20240819gitc082797f.el8fdp before *, from 0:2.24.0-2.1.20240819gitc082797f.el9fdp before *, from 0:2.24.0-2.el9_5 before *
CVE List

Classification

CWE-269

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Se identificó una vulnerabilidad de inyección de scripts en el paquete Tuned. La función `instance_create()` de D-Bus puede ser invocada por usuarios que hayan iniciado sesión localmente sin autenticación. Esta falla permite que un usuario local sin privilegios ejecute una llamada de D-Bus con opciones `script_pre` o `script_post` que permiten pasar scripts arbitrarios con sus rutas absolutas. Estos scripts o programas ejecutables controlados por el usuario o el atacante podrían ser ejecutados por Tuned con privilegios de superusuario, lo que podría permitir a los atacantes una escalada de privilegios local.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-52336 changed 2026-11-26CVE Terms of Use
NVDCVE-2024-52336 changed 2026-11-23Public domain