Cupsd Listen arbitrary chmod 0140777
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| OpenPrinting | cups | affected |
|
Configuration 1 [-]
|
Configuration 2 [-]
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | |||
| cups-1:2.2.6-60.el8_10 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2024:4265 | 2024-07-02T00:00:00Z |
| cups-1:2.2.6-60.el8_10 | cpe:/o:redhat:enterprise_linux:8 | RHSA-2024:4265 | 2024-07-02T00:00:00Z |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | |||
| cups-1:2.2.6-45.el8_6.5 | cpe:/a:redhat:rhel_aus:8.6 | RHSA-2024:4715 | 2024-07-24T00:00:00Z |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | |||
| cups-1:2.2.6-45.el8_6.5 | cpe:/a:redhat:rhel_tus:8.6 | RHSA-2024:4715 | 2024-07-24T00:00:00Z |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | |||
| cups-1:2.2.6-45.el8_6.5 | cpe:/a:redhat:rhel_e4s:8.6 | RHSA-2024:4715 | 2024-07-24T00:00:00Z |
| Red Hat Enterprise Linux 8.8 Extended Update Support | |||
| cups-1:2.2.6-51.el8_8.4 | cpe:/a:redhat:rhel_eus:8.8 | RHSA-2024:4580 | 2024-07-16T00:00:00Z |
| Red Hat Enterprise Linux 9 | |||
| cups-1:2.3.3op2-27.el9_4 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2024:4776 | 2024-07-23T00:00:00Z |
| cups-1:2.3.3op2-27.el9_4 | cpe:/o:redhat:enterprise_linux:9 | RHSA-2024:4776 | 2024-07-23T00:00:00Z |
| Red Hat Enterprise Linux 9.2 Extended Update Support | |||
| cups-1:2.3.3op2-16.el9_2.2 | cpe:/a:redhat:rhel_eus:9.2 | RHSA-2024:5644 | 2024-08-20T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-3826-1 | cups security update |
EUVD |
EUVD-2024-35252 | 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. |
Ubuntu USN |
USN-6844-1 | CUPS vulnerability |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 2.4% (2.421% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Debian
Debian debian Linux |
|
| CPEs | cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | |
| Vendors & Products |
Debian
Debian debian Linux |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | 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. |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:rhel_eus:9.2 |