CVE-2024-35235: Cupsd Listen arbitrary chmod 0140777
OpenPrinting · cups
Affected: OpenPrinting cups · Exploitation: possible (1 to 10%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 84% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- OpenPrinting · cups<= 2.4.8
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Possible (1 to 10%). EPSS between 1% and 10%.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- OpenPrinting
- Published
- June 2024
CoverageNo articles yet
No CyberSIXT article names CVE-2024-35235 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-59cwe.mitre.org
- github.com/OpenPrinting/cups/security/advisories/GHSA-vvwp-mv6j-github.com
- github.com/OpenPrinting/cups/commit/ff1f8a623e090dee8a8aadf12a6agithub.com
- git.launchpad.net/ubuntu/+source/apparmor/tree/profiles/apparmorgit.launchpad.net
- github.com/OpenPrinting/cups/blob/aba917003c8de55e5bf85010f0ecf1github.com
- openwall.com/lists/oss-security/2024/06/11/1openwall.com
- openwall.com/lists/oss-security/2024/06/12/4openwall.com
- openwall.com/lists/oss-security/2024/06/12/5openwall.com
- lists.debian.org/debian-lts-announce/2024/06/msg00001.htmllists.debian.org
- openwall.com/lists/oss-security/2024/11/08/3openwall.com