Synopsis
The Rocky Linux host is missing one or more security updates.
Description
The Rocky Linux 9 host has packages installed that are affected by a vulnerability as referenced in the CIQ crlsa-2024_1750 advisory.
* A vulnerability was found in Unbound due to incorrect default permissions, allowing any process outside the unbound group to modify the unbound runtime configuration. The default combination of the control-use-cert: no option with either explicit or implicit use of an IP address in the control-interface option could allow improper access. If a process can connect over localhost to port 8953, it can alter the configuration of unbound.service. This flaw allows an unprivileged local process to manipulate a running instance, potentially altering forwarders, allowing them to track all queries forwarded by the local resolver, and, in some cases, disrupting resolving altogether.
To mitigate the vulnerability, a new file /etc/unbound/conf.d/remote-control.conf has been added and included in the main unbound configuration file, unbound.conf. The file contains two directives that should limit access to unbound.conf:
control-interface: /run/unbound/control control-use-cert: yes
For details about these directives, run man unbound.conf.
Updating to the version of unbound provided by this advisory should, in most cases, address the vulnerability. To verify that your configuration is not vulnerable, use the unbound-control status | grep control command. If the output contains control(ssl) or control(namedpipe), your configuration is not vulnerable. If the command output returns only control, the configuration is vulnerable because it does not enforce access only to the unbound group members. To fix your configuration, add the line include:
/etc/unbound/conf.d/remote-control.conf to the end of the file /etc/unbound/unbound.conf. If you use a custom /etc/unbound/conf.d/remote-control.conf file, add the new directives to this file. (CVE-2024-1488)
Tenable has extracted the preceding description block directly from the CIQ security advisory.
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 based on the guidance in CIQ advisory crlsa-2024_1750.
Plugin Details
File Name: ciq_rocky_linux_9_crlsa-2024_1750.nasl
Supported Sensors: Continuous Assessment, Nessus Agent, Tenable Cloud Security, Tenable Self-Hosted Container Security, Nessus
Risk Information
Vendor
Vector: CVSS2#AV:L/AC:L/Au:S/C:P/I:C/A:C
Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C
Vulnerability Information
Required KB Items: Host/OS/extended-third-party, Host/local_checks_enabled, Host/RockyLinux/release, Host/RockyLinux/rpm-list, Host/cpu
Exploit Ease: No known exploits are available
Patch Publication Date: 5/10/2024
Vulnerability Publication Date: 2/15/2024