製品・ソフトウェアに関する情報
Perl の rmtree() 関数における任意のファイルへのシンボリックリンクを作成される脆弱性
Title Perl の rmtree() 関数における任意のファイルへのシンボリックリンクを作成される脆弱性
Summary

------------ 本脆弱性情報は、同時期に公開された複数の脆弱性について、まとめて解説したものです。タイトル以外の他の脆弱性情報の内容が含まれていますので予めご了承ください。 ------------ Perl は CGI の開発などに活用されているプログラミング言語です。Perl の File::Path モジュールにはディレクトリツリーを一括で削除する関数である rmtree() 関数が実装されています。 Perl 5.x に実装される File::Path モジュールでは、rmtree() 関数の処理において、以下の複数のセキュリティ上の問題が存在します。 1.削除するファイルやディレクトリに対し、セキュリティ上不適切なパーミッションを設定する問題 (CVE-2004-0452) 2.ディレクトリを削除するための前処理としてディレクトリのパーミッションを変更する際に競合状態が発生し、ディレクトリ内に任意のファイルへのシンボリックリンクが作成されてしまう問題 (CVE-2005-0448) これらの問題を利用するローカルの攻撃者は、結果として本来アクセス権のないファイルやディレクトリを削除する、あるいはシンボリックリンク攻撃を試み任意のファイルやディレクトリのパーミッションを変更することが可能です。

Possible impacts 本脆弱性に伴う影響については、「概要」をご参照ください。
Solution

ベンダ情報及び参考情報を参照して適切な対策を実施してください。

Publication Date Feb. 14, 2005, midnight
Registration Date April 1, 2007, midnight
Last Update Nov. 1, 2013, 2:10 p.m.
CVSS2.0 : 注意
Score 1.2
Vector AV:L/AC:H/Au:N/C:N/I:P/A:N
Affected System
レッドハット
Red Hat Enterprise Linux 2.1 (as)
Red Hat Enterprise Linux 2.1 (es)
Red Hat Enterprise Linux 2.1 (ws)
Red Hat Enterprise Linux 3 (as)
Red Hat Enterprise Linux 3 (es)
Red Hat Enterprise Linux 3 (ws)
Red Hat Enterprise Linux 4 (as)
Red Hat Enterprise Linux 4 (es)
Red Hat Enterprise Linux 4 (ws)
ヒューレット・パッカード
HP-UX 11.00
HP-UX 11.11
HP-UX 11.23
ターボリナックス
Turbolinux Server 10
Turbolinux Server 7
Turbolinux Server 8
サイバートラスト株式会社
Asianux Server 2.0
Asianux Server 2.1
Asianux Server 3.0
Asianux Server 3.0 (x86-64)
Asianux Server 4.0
Asianux Server 4.0 (x86-64)
The Perl Foundation
Perl 5.8.6 およびそれ以前
CVE (情報セキュリティ 共通脆弱性識別子)
ベンダー情報
その他
Change Log
No Changed Details Date of change
0 [2007年04月01日]
  掲載
[2013年11月01日]
  ベンダ情報:オラクル (Multiple vulnerabilities in Perl 5.8) を追加
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2005-0448
Summary

Race condition in the rmtree function in File::Path.pm in Perl before 5.8.4 allows local users to create arbitrary setuid binaries in the tree being deleted, a different vulnerability than CVE-2004-0452.

Publication Date May 2, 2005, 1 p.m.
Registration Date Jan. 29, 2021, 5:58 p.m.
Last Update Oct. 4, 2018, 6:29 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:larry_wall:perl:5.8.0:*:*:*:*:*:*:*
cpe:2.3:a:larry_wall:perl:5.8.1:*:*:*:*:*:*:*
cpe:2.3:a:larry_wall:perl:5.8.3:*:*:*:*:*:*:*
cpe:2.3:a:larry_wall:perl:5.8.4:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List