Ubuntu 16.04 LTS / 18.04 LTS / 20.04 LTS / 22.04 LTS / 23.10 / 24.04 LTS : CUPS regression (USN-6844-2)

info Nessus Plugin ID 201126

Synopsis

The remote Ubuntu host is missing a security update.

Description

The remote Ubuntu 16.04 LTS / 18.04 LTS / 20.04 LTS / 22.04 LTS / 23.10 / 24.04 LTS host has packages installed that are affected by a vulnerability as referenced in the USN-6844-2 advisory.

USN-6844-1 fixed vulnerabilities in the CUPS package. The update lead to the discovery of a regression in CUPS with regards to how the cupsd daemon handles Listen configuration directive.

This update fixes the problem.

We apologize for the inconvenience.

Original advisory details: Rory McNamara discovered that when starting the cupsd server with a Listen configuration item, the cupsd process fails to validate if bind call passed. An attacker could possibly trick cupsd to perform an arbitrary chmod of the provided argument, providing world-writable access to the target.

Tenable has extracted the preceding description block directly from the Ubuntu 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

https://ubuntu.com/security/notices/USN-6844-2

Plugin Details

Severity: Info

ID: 201126

File Name: ubuntu_USN-6844-2.nasl

Version: 1.3

Type: local

Agent: unix

Published: 6/28/2024

Updated: 8/27/2024

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

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:libcupscgi1, cpe:/o:canonical:ubuntu_linux:20.04:-:lts, cpe:/o:canonical:ubuntu_linux:24.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:libcupsppdc1-dev, p-cpe:/a:canonical:ubuntu_linux:libcupscgi1-dev, p-cpe:/a:canonical:ubuntu_linux:cups-client, p-cpe:/a:canonical:ubuntu_linux:libcupsimage2t64, p-cpe:/a:canonical:ubuntu_linux:libcupsmime1, cpe:/o:canonical:ubuntu_linux:18.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:libcups2-dev, p-cpe:/a:canonical:ubuntu_linux:libcupsppdc1, p-cpe:/a:canonical:ubuntu_linux:libcups2t64, p-cpe:/a:canonical:ubuntu_linux:cups-ppdc, p-cpe:/a:canonical:ubuntu_linux:cups-core-drivers, p-cpe:/a:canonical:ubuntu_linux:cups-daemon, p-cpe:/a:canonical:ubuntu_linux:libcups2, p-cpe:/a:canonical:ubuntu_linux:cups-server-common, cpe:/o:canonical:ubuntu_linux:23.10, cpe:/o:canonical:ubuntu_linux:16.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:cups, p-cpe:/a:canonical:ubuntu_linux:libcupsimage2, cpe:/o:canonical:ubuntu_linux:22.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:cups-bsd, p-cpe:/a:canonical:ubuntu_linux:libcupsmime1-dev, p-cpe:/a:canonical:ubuntu_linux:cups-common, p-cpe:/a:canonical:ubuntu_linux:cups-ipp-utils, p-cpe:/a:canonical:ubuntu_linux:libcupsimage2-dev

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Ease: No known exploits are available

Patch Publication Date: 6/28/2024

Vulnerability Publication Date: 6/28/2024

Reference Information

USN: 6844-2