Alibaba Cloud Linux 3 : 0189: cups (ALINUX3-SA-2024:0189)

medium Nessus Plugin ID 236140

Synopsis

The remote Alibaba Cloud Linux host is missing one or more security updates.

Description

The remote Alibaba Cloud Linux 3 host has packages installed that are affected by a vulnerability as referenced in the ALINUX3-SA-2024:0189 advisory.

Package updates are available for Alibaba Cloud Linux 3 that fix the following vulnerabilities:

CVE-2024-35235:
OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.8 and earlier, when starting the cupsd server with a Listen configuration item pointing to a symbolic link, the cupsd process can be caused to perform an arbitrary chmod of the provided argument, providing world-writable access to the target. Given that cupsd is often running as root, this can result in the change of permission of any user or system files to be world writable. Given the aforementioned Ubuntu AppArmor context, on such systems this vulnerability is limited to those files modifiable by the cupsd process. In that specific case it was found to be possible to turn the configuration of the Listen argument into full control over the cupsd.conf and cups-files.conf configuration files. By later setting the User and Group arguments in cups-files.conf, and printing with a printer configured by PPD with a `FoomaticRIPCommandLine` argument, arbitrary user and group (not root) command execution could be achieved, which can further be used on Ubuntu systems to achieve full root command execution. Commit ff1f8a623e090dee8a8aadf12a6a4b25efac143d contains a patch for the issue.

Tenable has extracted the preceding description block directly from the Alibaba Cloud Linux 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.

See Also

http://mirrors.aliyun.com/alinux/3/cve/alinux3-sa-20240189.xml

Plugin Details

Severity: Medium

ID: 236140

File Name: alinux3_sa_2024-0189.nasl

Version: 1.1

Type: local

Published: 5/14/2025

Updated: 5/14/2025

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.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-35235

CVSS v3

Risk Factor: Medium

Base Score: 4.4

Temporal Score: 3.9

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

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

Vulnerability Information

CPE: p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:cups-client, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:cups-ipptool, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:cups, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:cups-libs-debuginfo, cpe:/o:alibabacloud:alibaba_cloud_linux_3, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:cups-filesystem, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:cups-libs, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:cups-client-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:cups-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:cups-ipptool-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:cups-lpd-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:cups-devel, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:cups-debugsource, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:cups-doc, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:cups-lpd

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

Exploit Ease: No known exploits are available

Patch Publication Date: 9/26/2024

Vulnerability Publication Date: 6/11/2024

Reference Information

CVE: CVE-2024-35235