NVD Vulnerability Detail
Search Exploit, PoC
CVE-2025-54418
Summary

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.

Publication Date July 29, 2025, 12:15 a.m.
Registration Date July 29, 2025, 4 a.m.
Last Update Aug. 6, 2025, 12:46 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:codeigniter:codeigniter:*:*:*:*:*:*:*:* 4.0.0 4.6.2
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
British Columbia Institute of Technology の CodeIgniter における OS コマンドインジェクションの脆弱性
Title British Columbia Institute of Technology の CodeIgniter における OS コマンドインジェクションの脆弱性
Summary

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

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

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

Publication Date July 28, 2025, midnight
Registration Date Aug. 6, 2025, 11:59 a.m.
Last Update Aug. 6, 2025, 11:59 a.m.
Affected System
British Columbia Institute of Technology
CodeIgniter 4.0.0 以上 4.6.2 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2025年08月06日]
  掲載
Aug. 6, 2025, 11:59 a.m.