InfraGuard

CVE-2025-35939

Craft CMS stores user-provided content in session files

6.9 CVSS 4.0 実環境で悪用中EPSS 1.4%

何が問題か

Craft CMS は、検証されていないユーザー入力のリターン URL パラメータをサーバー上のセッションファイル内に直接保存します。認証されていない攻撃者が、既知のローカルファイルパスに PHP コードなどの任意のコンテンツを注入する可能性があり、独立した別の脆弱性を利用して実行される可能性があります。

影響を受ける対象

Craft CMS 5.7.5 より前のバージョンおよび 4.15.3 より前のバージョンが影響を受けます。

対処方法

この問題を解決するには、Craft CMS をバージョン 5.7.5 または 4.15.3 以降にアップグレードしてください。

原文の説明

Craft CMS stores arbitrary content provided by unauthenticated users in session files. This content could be accessed and executed, possibly using an independent vulnerability. Craft CMS redirects requests that require authentication to the login page and generates a session file on the server at '/var/lib/php/sessions'. Such session files are named 'sess_[session_value]', where '[session_value]' is provided to the client in a 'Set-Cookie' response header. Craft CMS stores the return URL requested by the client without sanitizing parameters. Consequently, an unauthenticated client can introduce arbitrary values, such as PHP code, to a known local file location on the server. Craft CMS versions 5.7.5 and 4.15.3 have been released to address this issue.

悪用確認済み(CISA KEV)

KEV 追加日
2025-06-02
対応期限(米連邦機関)
2025-06-23
ランサムウェアでの使用
Unknown
必要な対応
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

影響を受けるソフトウェア

詳細

公開日
2025-05-08
最終更新
2026-02-27
CVSS ベクター
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
CWE
CWE-472
EPSS(30日以内の悪用確率)
1.37% (パーセンタイル 72)

参考資料

自社サーバーでこれらのバージョンを追跡

InfraGuard はすべてのサーバーからインストール済みソフトウェアのバージョンを収集し、既知の脆弱性があるものを通知します。セルフホスト型なので、データがネットワーク外に出ることはありません。

悪用された脆弱性の週刊ダイジェスト

セルフホスト型サーバーに関係する KEV の追加情報を週1回お届けします。それ以外のメールは送りません。

本製品は NVD API のデータを使用していますが、NVD による承認または認定を受けたものではありません。CVE® は The MITRE Corporation の登録商標です。CVE レコードは CVE Program の利用規約に基づいて使用しています。