製品・ソフトウェアに関する情報
Solaris の rm の -r および -R オプションを伴うディレクトリの再帰的削除における rm を稼働しているユーザとしてファイルなどを削除される脆弱性
Title Solaris の rm の -r および -R オプションを伴うディレクトリの再帰的削除における rm を稼働しているユーザとしてファイルなどを削除される脆弱性
Summary

Solaris の rm の (1) -r および (2) -R オプションを伴うディレクトリの再帰的削除は、競合状態により、rm を稼働しているユーザとしてファイルおよびディレクトリを削除される脆弱性が存在します。 本問題は、CVE-2002-0435 に関連する可能性があります。

Possible impacts ローカルユーザにより、削除されている間に下位ディレクトリを上位へレベルへ移動されることで、rm が chdir を用いて ".." ディレクトリに変更する状態となり、ルートディレクトリになるまで繰り返され、rm を稼働しているユーザとしてファイルおよびディレクトリを削除される可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Feb. 8, 2007, midnight
Registration Date Dec. 20, 2012, 6:19 p.m.
Last Update Dec. 20, 2012, 6:19 p.m.
CVSS2.0 : 注意
Score 2.6
Vector AV:L/AC:H/Au:N/C:N/I:P/A:P
Affected System
サン・マイクロシステムズ
Sun Solaris 2.5 (sparc) 20070208 未満の 8 から 10
CVE (情報セキュリティ 共通脆弱性識別子)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2012年12月20日]
  掲載
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2007-0895
Summary

Race condition in recursive directory deletion with the (1) -r or (2) -R option in rm in Solaris 8 through 10 before 20070208 allows local users to delete files and directories as the user running rm by moving a low-level directory to a higher level as it is being deleted, which causes rm to chdir to a ".." directory that is higher than expected, possibly up to the root file system, a related issue to CVE-2002-0435.

Publication Date Feb. 13, 2007, 10:28 a.m.
Registration Date Jan. 29, 2021, 2:07 p.m.
Last Update Oct. 31, 2018, 1:25 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:o:sun:solaris:9.0:*:sparc:*:*:*:*:*
cpe:2.3:o:sun:solaris:10.0:*:sparc:*:*:*:*:*
cpe:2.3:o:sun:sunos:5.8:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List