目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2025-54418— CodeIgniter 操作系统命令注入漏洞

一分钟漏洞结论

影响对象
codeigniter4 CodeIgniter4
利用判断
存在公开或 AI PoC,应优先验证
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

CodeIgniter是Codeigniter开源的一个轻量级、快速、灵活和安全的 PHP 全栈 Web 框架。 CodeIgniter 4.6.2之前版本存在操作系统命令注入漏洞,该漏洞源于ImageMagick处理用户控制文件名或文本时存在命令注入。

CVSS 9.8 · Critical EPSS 1.55% · P74
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2025-54418 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
CodeIgniter4's ImageMagick Handler has Command Injection Vulnerability
来源: CVE Program / CVE List V5
Vulnerability Description
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.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
来源: CVE Program / CVE List V5
Vulnerability Title
CodeIgniter 操作系统命令注入漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
CodeIgniter是Codeigniter开源的一个轻量级、快速、灵活和安全的 PHP 全栈 Web 框架。 CodeIgniter 4.6.2之前版本存在操作系统命令注入漏洞,该漏洞源于ImageMagick处理用户控制文件名或文本时存在命令注入。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

神龙十问 — AI 深度分析

十问解析:根本原因、利用方式、修复建议、紧迫性。摘要免费,完整版需登录。

受影响产品

厂商 产品 影响版本 CPE 订阅
codeigniter4 CodeIgniter4 < 4.6.2 -

二、漏洞 CVE-2025-54418 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级
Qwen3.6-35B-A3B · 6650 chars
Pro+ 专属包含:
漏洞复现靶场录像(真实沙箱构建 + 触发,独家)
漏洞原理深度分析
触发条件与影响面
完整可执行 POC 代码
利用链与缓解建议
POC 打包下载
每月 100+ 条 AI 生成额度

三、漏洞 CVE-2025-54418 的情报信息

请登录查看更多情报信息。

CVE-2025-54418 厂商安全公告 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2025-54418

暂无评论


发表评论