CVE-2024-35235: medium-severity vulnerability in OpenPrinting cups
Cupsd Listen arbitrary chmod 0140777
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
When CUPS starts with a Listen configuration pointing to a symbolic link, it can accidentally change file permissions to world-writable, potentially exposing sensitive system files. This is especially dangerous because CUPS often runs as root, so attackers could gain unauthorized access to important configuration files.
A symlink-based arbitrary chmod vulnerability in CUPS (CVE-2024-35235) allows an attacker to modify file permissions via a malicious Listen configuration entry. The attack vector requires the ability to create or control symlinks on the system; when cupsd starts, it applies chmod 0140777 to the symlink target, potentially leading to world-writable access to critical files including cupsd.conf. On systems with restrictive AppArmor policies, this can be chained with PPD-based command injection (FoomaticRIPCommandLine) to achieve arbitrary command execution.
In the same product, most dangerous first.