製品・ソフトウェアに関する情報
Gentoo Linux の gencert.sh スクリプトにおける任意のファイルを上書きされる脆弱性
Title Gentoo Linux の gencert.sh スクリプトにおける任意のファイルを上書きされる脆弱性
Summary

Gentoo Linux の ebuild として OpenLDAP がインストールされている際の gencert.sh スクリプトは、emerge 中に /tmp 配下にテンポラリディレクトリを安全に作成しないため、任意のファイルを上書きされる脆弱性が存在します。

Possible impacts ローカルユーザにより、シンボリックリンク攻撃を介して、任意のファイルを上書きされる可能性があります。
Solution

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

Publication Date Jan. 23, 2007, midnight
Registration Date June 26, 2012, 3:46 p.m.
Last Update June 26, 2012, 3:46 p.m.
CVSS2.0 : 警告
Score 4.6
Vector AV:L/AC:L/Au:N/C:P/I:P/A:P
Affected System
Gentoo Linux
Gentoo Linux 2.1.30-r10 未満、2.2.28-r7 未満の 2.2.x、および 2.3.30-r2 未満の 2.3.x
CVE (情報セキュリティ 共通脆弱性識別子)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2012年06月26日]
  掲載
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2007-0476
Summary

The gencert.sh script, when installing OpenLDAP before 2.1.30-r10, 2.2.x before 2.2.28-r7, and 2.3.x before 2.3.30-r2 as an ebuild in Gentoo Linux, does not create temporary directories in /tmp securely during emerge, which allows local users to overwrite arbitrary files via a symlink attack.

Publication Date Jan. 25, 2007, 9:28 a.m.
Registration Date Jan. 29, 2021, 2:05 p.m.
Last Update March 8, 2011, 11:49 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:o:gentoo:linux:2.1.30:r9:*:*:*:*:*:*
cpe:2.3:o:gentoo:linux:2.2.28:r7:*:*:*:*:*:*
cpe:2.3:o:gentoo:linux:2.3.30:r2:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List