std42のelfinderにおけるOS コマンドインジェクションの脆弱性
| Title |
std42のelfinderにおけるOS コマンドインジェクションの脆弱性
|
| Summary |
elFinderはjQuery UIを使用してJavaScriptで書かれたWeb用のオープンソースファイルマネージャーです。バージョン2.1.67より前のelFinderには、resizeコマンドにコマンドインジェクションの脆弱性が存在します。bg(背景色)パラメータはユーザー入力から受け取り、画像のリサイズおよび回転処理に渡されます。ImageMagick CLIバックエンドを使用する構成では、この値が十分にエスケープされずにシェルコマンド文字列に組み込まれてしまいます。攻撃者は細工されたbg値でresizeコマンドを呼び出すことで、ウェブサーバープロセスのユーザーとして任意のコマンドを実行可能です。この脆弱性はバージョン2.1.67で修正されました。
|
| Possible impacts |
当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution |
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
April 23, 2026, midnight |
| Registration Date |
April 30, 2026, 11:01 a.m. |
| Last Update |
April 30, 2026, 11:01 a.m. |
|
CVSS3.0 : 緊急
|
| Score |
9.8
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected System
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年04月30日] 掲載 |
April 30, 2026, 11:01 a.m. |
NVD Vulnerability Information
CVE-2026-41247
| Summary |
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.
|
| Publication Date |
April 24, 2026, 4:17 a.m. |
| Registration Date |
April 25, 2026, 4:06 a.m. |
| Last Update |
April 29, 2026, 3:57 a.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:std42:elfinder:*:*:*:*:*:*:*:* |
|
|
|
2.1.67 |
Related information, measures and tools
Common Vulnerabilities List