CVE-2025-54418
概要

CodeIgniter is a PHP full-stack web framework. A command injection vulnerability present in versions prior to 4.6.2 affects applications that use the ImageMagick handler for image processing (`imagick` as the image library) and either allow file uploads with user-controlled filenames and process uploaded images using the `resize()` method or use the `text()` method with user-controlled text content or options. An attacker can upload a file with a malicious filename containing shell metacharacters that get executed when the image is processed or provide malicious text content or options that get executed when adding text to images Users should upgrade to v4.6.2 or later to receive a patch. As a workaround, switch to the GD image handler (`gd`, the default handler), which is not affected by either vulnerability. For file upload scenarios, instead of using user-provided filenames, generate random names to eliminate the attack vector with `getRandomName()` when using the `move()` method, or use the `store()` method, which automatically generates safe filenames. For text operations, if one must use ImageMagick with user-controlled text, sanitize the input to only allow safe characters and validate/restrict text options.

公表日 2025年7月29日0:15
登録日 2025年7月29日4:00
最終更新日 2025年8月6日0:46
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:codeigniter:codeigniter:*:*:*:*:*:*:*:* 4.0.0 4.6.2
関連情報、対策とツール
共通脆弱性一覧

JVN脆弱性情報
British Columbia Institute of Technology の CodeIgniter における OS コマンドインジェクションの脆弱性
タイトル British Columbia Institute of Technology の CodeIgniter における OS コマンドインジェクションの脆弱性
概要

British Columbia Institute of Technology の CodeIgniter には、OS コマンドインジェクションの脆弱性が存在します。

想定される影響 情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。
対策

ベンダアドバイザリまたはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。

公表日 2025年7月28日0:00
登録日 2025年8月6日11:59
最終更新日 2025年8月6日11:59
影響を受けるシステム
British Columbia Institute of Technology
CodeIgniter 4.0.0 以上 4.6.2 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
変更履歴
No 変更内容 変更日
1 [2025年08月06日]
  掲載
2025年8月6日11:59