| タイトル | neutrinolabsのxrdpにおけるOS コマンドインジェクションの脆弱性 |
|---|---|
| 概要 | xrdpはオープンソースのRDPサーバーです。バージョン0.10.5までには、認証されたリモートユーザーがxrdp-sesmanのAlternateShellパラメーターを安全でない方法で取り扱うことにより、サーバー上で任意のコマンドを実行できる問題が存在します。AllowAlternateShell設定が有効になっている場合(明示的に設定されていない場合のデフォルト)、xrdpはクライアントから送信されたAlternateShellの値を受け入れ、セッション初期化時に/bin/sh -cを介して実行します。これにより、未検証のユーザー制御入力がシェルで解釈され、実行されてしまいます。この動作によって、認証されたユーザーのセキュリティコンテキスト内でRDPを通じたスクリプト可能なリモートコマンド実行が可能となり、通常のウィンドウマネージャー起動前に発生します。これにより、実行をインタラクティブなデスクトップ環境に制限する通常のセッション初期化フローや運用上の前提条件を回避できるようになります。この問題はバージョン0.10.6で修正されました。 |
| 想定される影響 | 当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 さらに、当該ソフトウェアの一部が停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| 対策 | 正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年4月17日0:00 |
| 登録日 | 2026年4月28日10:13 |
| 最終更新日 | 2026年4月28日10:13 |
| CVSS3.0 : 警告 | |
| スコア | 6.3 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| neutrinolabs |
| xrdp 0.10.6 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年04月28日] 掲載 |
2026年4月28日10:13 |
| 概要 | xrdp is an open source RDP server. Versions through 0.10.5 allow an authenticated remote user to execute arbitrary commands on the server due to unsafe handling of the AlternateShell parameter in xrdp-sesman. When the AllowAlternateShell setting is enabled (which is the default when not explicitly configured), xrdp accepts a client-supplied AlternateShell value and executes it via /bin/sh -c during session initialization. This results in shell-interpreted execution of unsanitized, user-controlled input. This behavior effectively provides a scriptable remote command execution primitive over RDP within the security context of the authenticated user, occurring prior to normal window manager startup. This can bypass expected session initialization flows and operational assumptions that restrict execution to interactive desktop environments. This issue has been fixed in version 0.10.6. |
|---|---|
| 公表日 | 2026年4月18日6:16 |
| 登録日 | 2026年4月19日4:08 |
| 最終更新日 | 2026年4月21日4:03 |