CVE-2024-35235 | Cupsd Listen arbitrary chmod 0140777

Exp

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.

公開: 2024-06-11 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2024-35235 は悪用リスクが高い(60.6/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 2.42%、82 パーセンタイル) 根拠: 公開エクスプロイトが 2 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2024-35235 に関する公開 exploit 参照(Exploit-DB)

EDB-ID ソース 種別 公開 リンク
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

CVE-2024-35235 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 3.10% 2.42% -0.68%
2 2026-01-04 3.36% 3.10% -0.26%
3 2025-10-31 3.36%

EPSS の全履歴 (全 24 件)

CVE-2024-35235 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
4.4 3.1 MEDIUM
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N クリックして展開
攻撃ベクター (AV:L)
対象ホスト上でコードを実行できること、または別ユーザーの誤操作・悪意ある操作が前提になる。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:H)
管理者・SYSTEM など、強い権限を握った状態からでないと実害に結びつきにくい。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:N)
改ざん・なりすましによる信頼毀損は軽微か、想定されない。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
0.8 3.6 [email protected]
6.7 3.1 MEDIUM
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H クリックして展開
攻撃ベクター (AV:L)
対象ホスト上でコードを実行できること、または別ユーザーの誤操作・悪意ある操作が前提になる。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:H)
管理者・SYSTEM など、強い権限を握った状態からでないと実害に結びつきにくい。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
0.8 5.9 [email protected]

CVE-2024-35235 の弱点分類(列挙)

CVE-2024-35235 の OS トラッカー

vendor priority summary link
alpine CVE-2024-35235: 1 source package rows (cups); 56 state rows across 7 repos (3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 7, open 49. https://security.alpinelinux.org/vuln/CVE-2024-35235
debian not yet assigned CVE-2024-35235 not yet assigned priority: Debian including 1 source packages (cups), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2024-35235
redhat medium https://access.redhat.com/security/cve/CVE-2024-35235
suse high CVE-2024-35235 severity important: SUSE including 300 source package names (6.0-baremetal:glibc-2.38-slfo.1.1_4.1, 6.0-base:glibc-2.38-slfo.1.1_4.1, …), 905 product×package rows across 241 product lines (Container rancher/elemental-channel/sl-micro, Container suse/kiosk/firefox-esr, … (241 product lines)): Fixed 705, Known Affected 200. https://www.suse.com/security/cve/CVE-2024-35235/
ubuntu medium CVE-2024-35235 medium priority: Ubuntu including 1 source packages (cups), 7 status rows across 7 suites (bionic, focal, jammy, mantic, noble, upstream, xenial): released 7. https://ubuntu.com/security/CVE-2024-35235

CVE-2024-35235 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
openprinting cups <= 2.4.8 cpe:2.3:a:openprinting:cups:*:*:*:*:*:*:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

CVE-2024-35235 の参考情報

URL タグ
http://www.openwall.com/lists/oss-security/2024/06/11/1 Exploit Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2024/06/12/4 Mailing List
http://www.openwall.com/lists/oss-security/2024/06/12/5 Mailing List
https://git.launchpad.net/ubuntu/+source/apparmor/tree/profiles/apparmor.d/abstractions/user-tmp#n21 Product
https://github.com/OpenPrinting/cups/blob/aba917003c8de55e5bf85010f0ecf1f1ddd1408e/cups/http-addr.c#L229-L240 Product
https://github.com/OpenPrinting/cups/commit/ff1f8a623e090dee8a8aadf12a6a4b25efac143d Patch
https://github.com/OpenPrinting/cups/security/advisories/GHSA-vvwp-mv6j-hw6f Exploit Vendor Advisory
https://lists.debian.org/debian-lts-announce/2024/06/msg00001.html Mailing List
http://www.openwall.com/lists/oss-security/2024/11/08/3 Mailing List
cvelogic Threat Intelligence