Samba ProjectのrsyncにおけるTime-of-check Time-of-use (TOCTOU) 競合状態の脆弱性
| Title |
Samba ProjectのrsyncにおけるTime-of-check Time-of-use (TOCTOU) 競合状態の脆弱性
|
| Summary |
Rsyncのバージョン3.4.3より前には、デーモンのファイル処理においてチェック時と使用時の時間差(TOCTOU)の競合状態が存在していました。攻撃者は親ディレクトリのコンポーネントをシンボリックリンクに置き換えることで、ファイルの書き込み先を意図したディレクトリ外へリダイレクト可能です。モジュールパスへの書き込みアクセス権を持つ攻撃者は、この競合状態を悪用して任意のファイルを作成または上書きし、機密性の高いシステムファイルを変更することができます。さらに、デーモンが昇格した権限で実行されている場合には、権限昇格を達成する恐れがあります。この脆弱性は、chroot設定がfalseの場合にのみ発生します。
|
| Possible impacts |
当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution |
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
May 20, 2026, midnight |
| Registration Date |
May 25, 2026, 10:23 a.m. |
| Last Update |
May 25, 2026, 10:23 a.m. |
|
CVSS3.0 : 重要
|
| Score |
7
|
| Vector |
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected System
| Samba Project |
|
rsync 3.4.3 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年05月25日] 掲載 |
May 25, 2026, 10:23 a.m. |
NVD Vulnerability Information
CVE-2026-29518
| Summary |
Rsync versions before 3.4.3 contain a time-of-check to time-of-use (TOCTOU) race condition in daemon file handling that allows attackers to redirect file writes outside intended directories by replacing parent directory components with symbolic links. Attackers with write access to a module path can exploit this race condition to create or overwrite arbitrary files, potentially modifying sensitive system files and achieving privilege escalation when the daemon runs with elevated privileges. This vulnerability can only be triggered if the chroot setting is false.
|
| Publication Date |
May 20, 2026, 10:16 p.m. |
| Registration Date |
May 21, 2026, 4:09 a.m. |
| Last Update |
May 22, 2026, 2:05 a.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:samba:rsync:*:*:*:*:*:*:*:* |
|
|
|
3.4.3 |
Related information, measures and tools
Common Vulnerabilities List