Debian セキュリティ勧告
DSA-404-1 rsync -- ヒープオーバーフロー
- 報告日時:
- 2003-12-04
- 影響を受けるパッケージ:
- rsync
- 危険性:
- あり
- 参考セキュリティデータベース:
- (SecurityFocus の) Bugtraq データベース: BugTraq ID 9153.
Mitre の CVE 辞書: CVE-2003-0962. - 詳細:
-
The rsync team は、2.5.7 以前のバージョンの rsync (高速リモートファイル コピープログラム) に脆弱性があり、これを最近の Linux カーネルにある脆弱性と 組み合わせることで、公開 rsync サーバのセキュリティを侵害できるという証拠を 受け取りました。
このヒープオーバフローの脆弱性だけでは rsync サーバの root 権限を得ることはできませんが、最近発表された Linux カーネルの do_brk() 関数にある脆弱性と組み合わせることで、完全にリモートからセキュリティを 侵害できます。
この脆弱性は、rsync を 「rsync サーバ」として利用しているときのみ 影響するということに注意してください。rsync サーバを起動しているかどうかを 確認するには、"netstat -a -n" コマンドを実行して、TCP ポート 873 を LISTEN しているか調べてください。TCP ポート 873 が LISTEN されていなければ、rsync サーバは起動されていません。
安定版 (stable) ディストリビューション (woody) では、 この問題はバージョン 2.5.5-0.2 で修正されています。
不安定版 (unstable) ディストリビューション (sid) では、 この問題はバージョン 2.5.6-1.1 で修正されています。
しかし、Debian のインフラは最近の侵害以後まだ完全には機能していないので、 しばらくの間不安定版 (unstable) ディストリビューション用のパッケージは アーカイブに入れることができません。したがって、これらはセキュリティマシンの Joey のホームディレクトリに 置かれます。
リモートの rsync サービスを提供しているなら、直ちに rsync パッケージを アップグレードすることをお勧めします。テスト版 (testing) を使ってリモートの rsync サービスを提供しているなら、woody 用のパッケージを使ってください。
- 修正:
-
Debian GNU/Linux 3.0 (woody)
- ソース:
- http://security.debian.org/pool/updates/main/r/rsync/rsync_2.5.5-0.2.dsc
- http://security.debian.org/pool/updates/main/r/rsync/rsync_2.5.5-0.2.diff.gz
- http://security.debian.org/pool/updates/main/r/rsync/rsync_2.5.5.orig.tar.gz
- http://security.debian.org/pool/updates/main/r/rsync/rsync_2.5.5-0.2.diff.gz
- Alpha:
- http://security.debian.org/pool/updates/main/r/rsync/rsync_2.5.5-0.2_alpha.deb
- ARM:
- http://security.debian.org/pool/updates/main/r/rsync/rsync_2.5.5-0.2_arm.deb
- Intel IA-32:
- http://security.debian.org/pool/updates/main/r/rsync/rsync_2.5.5-0.2_i386.deb
- Intel IA-64:
- http://security.debian.org/pool/updates/main/r/rsync/rsync_2.5.5-0.2_ia64.deb
- HPPA:
- http://security.debian.org/pool/updates/main/r/rsync/rsync_2.5.5-0.2_hppa.deb
- Motorola 680x0:
- http://security.debian.org/pool/updates/main/r/rsync/rsync_2.5.5-0.2_m68k.deb
- Big endian MIPS:
- http://security.debian.org/pool/updates/main/r/rsync/rsync_2.5.5-0.2_mips.deb
- Little endian MIPS:
- http://security.debian.org/pool/updates/main/r/rsync/rsync_2.5.5-0.2_mipsel.deb
- PowerPC:
- http://security.debian.org/pool/updates/main/r/rsync/rsync_2.5.5-0.2_powerpc.deb
- Sun Sparc:
- http://security.debian.org/pool/updates/main/r/rsync/rsync_2.5.5-0.2_sparc.deb
一覧にあるファイルの MD5 チェックサムは勧告の原文にあります。