Description
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.
Problem types
Product status
2.23.0 (semver) before 2.24.1
0:2.11.0-5.el7fdp.2 (rpm) before *
0:2.24.0-2.1.20240819gitc082797f.el8fdp (rpm) before *
0:2.24.0-2.1.20240819gitc082797f.el9fdp (rpm) before *
0:2.11.0-13.el7_9 (rpm) before *
0:2.11.0-13.el7_9 (rpm) before *
0:2.22.1-5.el8_10 (rpm) before *
0:2.22.1-5.el8_10 (rpm) before *
0:2.20.0-1.el8_4.2 (rpm) before *
0:2.20.0-1.el8_4.2 (rpm) before *
0:2.20.0-1.el8_4.2 (rpm) before *
0:2.20.0-1.el8_6.2 (rpm) before *
0:2.20.0-1.el8_6.2 (rpm) before *
0:2.20.0-1.el8_6.2 (rpm) before *
0:2.20.0-2.el8_8.1 (rpm) before *
0:2.24.0-2.el9_5 (rpm) before *
0:2.24.0-2.el9_5 (rpm) before *
0:2.20.0-3.el9_2 (rpm) before *
0:2.22.1-3.el9_4 (rpm) before *
Timeline
| 2024-11-08: | Reported to Red Hat. |
| 2024-11-26: | Made public. |
Credits
Red Hat would like to thank Matthias Gerstner (SUSE Security Team) for reporting this issue.
References
www.openwall.com/lists/oss-security/2024/11/28/2
security.opensuse.org/2024/11/26/tuned-instance-create.html
access.redhat.com/errata/RHSA-2024:10381 (RHSA-2024:10381)
access.redhat.com/errata/RHSA-2024:10384 (RHSA-2024:10384)
access.redhat.com/errata/RHSA-2024:11161 (RHSA-2024:11161)
access.redhat.com/errata/RHSA-2025:0195 (RHSA-2025:0195)
access.redhat.com/errata/RHSA-2025:0327 (RHSA-2025:0327)
access.redhat.com/errata/RHSA-2025:0368 (RHSA-2025:0368)
access.redhat.com/errata/RHSA-2025:0879 (RHSA-2025:0879)
access.redhat.com/errata/RHSA-2025:0880 (RHSA-2025:0880)
access.redhat.com/errata/RHSA-2025:0881 (RHSA-2025:0881)
access.redhat.com/errata/RHSA-2025:1785 (RHSA-2025:1785)
access.redhat.com/errata/RHSA-2025:1802 (RHSA-2025:1802)
access.redhat.com/security/cve/CVE-2024-52337
bugzilla.redhat.com/show_bug.cgi?id=2324541 (RHBZ#2324541)
github.com/redhat-performance/tuned/releases/tag/v2.24.1
security.opensuse.org/2024/11/26/tuned-instance-create.html
www.openwall.com/lists/oss-security/2024/11/28/1