std42のelfinderにおけるOS コマンドインジェクションの脆弱性
タイトル std42のelfinderにおけるOS コマンドインジェクションの脆弱性
概要

elFinderはjQuery UIを使用してJavaScriptで書かれたWeb用のオープンソースファイルマネージャーです。バージョン2.1.67より前のelFinderには、resizeコマンドにコマンドインジェクションの脆弱性が存在します。bg(背景色)パラメータはユーザー入力から受け取り、画像のリサイズおよび回転処理に渡されます。ImageMagick CLIバックエンドを使用する構成では、この値が十分にエスケープされずにシェルコマンド文字列に組み込まれてしまいます。攻撃者は細工されたbg値でresizeコマンドを呼び出すことで、ウェブサーバープロセスのユーザーとして任意のコマンドを実行可能です。この脆弱性はバージョン2.1.67で修正されました。

想定される影響 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
対策

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

公表日 2026年4月23日0:00
登録日 2026年4月30日11:01
最終更新日 2026年4月30日11:01
CVSS3.0 : 緊急
スコア 9.8
ベクター CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
影響を受けるシステム
std42
elfinder 2.1.67 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
変更履歴
No 変更内容 変更日
1 [2026年04月30日]
  掲載
2026年4月30日11:01

NVD脆弱性情報
CVE-2026-41247
概要

elFinder is an open-source file manager for web, written in JavaScript using jQuery UI. Prior to 2.1.67, elFinder contains a command injection vulnerability in the resize command. The bg (background color) parameter is accepted from user input and passed through image resize/rotate processing. In configurations that use the ImageMagick CLI backend, this value is incorporated into shell command strings without sufficient escaping. An attacker able to invoke the resize command with a crafted bg value may achieve arbitrary command execution as the web server process user. This vulnerability is fixed in 2.1.67.

公表日 2026年4月24日4:17
登録日 2026年4月25日4:06
最終更新日 2026年4月29日3:57
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:std42:elfinder:*:*:*:*:*:*:*:* 2.1.67
関連情報、対策とツール
共通脆弱性一覧