NVD Vulnerability Detail
Search Exploit, PoC
CVE-2009-4147
Summary

The _rtld function in the Run-Time Link-Editor (rtld) in libexec/rtld-elf/rtld.c in FreeBSD 7.1 and 8.0 does not clear the (1) LD_LIBMAP, (2) LD_LIBRARY_PATH, (3) LD_LIBMAP_DISABLE, (4) LD_DEBUG, and (5) LD_ELF_HINTS_PATH environment variables, which allows local users to gain privileges by executing a setuid or setguid program with a modified variable containing an untrusted search path that points to a Trojan horse library, different vectors than CVE-2009-4146.

Publication Date Dec. 3, 2009, 4:30 a.m.
Registration Date Jan. 29, 2021, 1:26 p.m.
Last Update May 22, 2019, 12:29 p.m.
CVSS2.0 : HIGH
Score 7.2
Vector AV:L/AC:L/Au:N/C:C/I:C/A:C
攻撃元区分(AV) ローカル
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
Get all privileges. はい
Get user privileges いいえ
Get other privileges いいえ
User operation required いいえ
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:o:freebsd:freebsd:7.1:*:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:8.0:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
FreeBSD の libexec/rtld-elf/rtld.c における権限を取得される脆弱性
Title FreeBSD の libexec/rtld-elf/rtld.c における権限を取得される脆弱性
Summary

FreeBSD の libexec/rtld-elf/rtld.c の Run-Time Link-Editor (rtld) の _rtld 関数は、以下の環境変数をクリアにしないため、権限を取得される脆弱性が存在します。 (1) LD_LIBMAP 環境変数 (2) LD_LIBRARY_PATH 環境変数 (3) LD_LIBMAP_DISABLE 環境変数 (4) LD_DEBUG 環境変数 (5) LD_ELF_HINTS_PATH 環境変数 本脆弱性は、CVE-2009-4146 とは異なる脆弱性です。

Possible impacts ローカルユーザにより、トロイの木馬ライブラリを指す検索パスを含む変更された変数を伴う setuid プログラムまたは setguid プログラムを実行されることで、権限を取得される可能性があります。
Solution

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

Publication Date Dec. 2, 2009, midnight
Registration Date June 26, 2012, 4:18 p.m.
Last Update June 26, 2012, 4:18 p.m.
Affected System
FreeBSD
FreeBSD 5.3 7.1 および 8.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2012年06月26日]
  掲載
Feb. 17, 2018, 10:37 a.m.