FreeRDPにおける境界条件の判定に関する脆弱性
| Title |
FreeRDPにおける境界条件の判定に関する脆弱性
|
| Summary |
FreeRDPはリモートデスクトッププロトコルの無料実装です。バージョン3.25.0より前のバージョンでは、`channels/drive/client/drive_file.c`のパストラバーサルフィルターにオフバイワンの脆弱性が存在していました。`contains_dotdot()`関数はパスの途中にある`../`や`..\`を検出しますが、末尾のコンポーネントにトレーリングセパレータがない場合の`..`を見逃してしまいます。悪意のあるRDPサーバーは、被害者がドライブリダイレクションを有効にした状態で接続すると、RDPDRリクエストを通じてクライアントの共有フォルダの一つ上のディレクトリのファイルを読み取り、一覧表示し、または書き込みが可能となります。バージョン3.25.0でこの問題は修正されました。
|
| Possible impacts |
当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃により、他のソフトウェアにも影響が及ぶ可能性があります。 |
| Solution |
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
April 24, 2026, midnight |
| Registration Date |
April 30, 2026, 12:28 p.m. |
| Last Update |
April 30, 2026, 12:28 p.m. |
|
CVSS3.0 : 警告
|
| Score |
6.1
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected System
| FreeRDP |
|
FreeRDP 3.25.0 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年04月30日] 掲載 |
April 30, 2026, 12:28 p.m. |
NVD Vulnerability Information
CVE-2026-40254
| Summary |
FreeRDP is a free implementation of the Remote Desktop Protocol. Versions prior to 3.25.0 have an off-by-one in the path traversal filter in `channels/drive/client/drive_file.c`. The `contains_dotdot()` function catches `../` and `..\` mid-path but misses `..` when it's the last component with no trailing separator. A rogue RDP server can read, list, or write files one directory above the client's shared folder through RDPDR requests. This requires the victim to connect with drive redirection enabled. Version 3.25.0 patches the issue.
|
| Publication Date |
April 24, 2026, 12:16 p.m. |
| Registration Date |
April 25, 2026, 4:07 a.m. |
| Last Update |
April 28, 2026, 2:44 a.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:* |
|
|
|
3.25.0 |
Related information, measures and tools
Common Vulnerabilities List