製品・ソフトウェアに関する情報
FreeBSD のカーネルにおけるファイルシステムの書き込み権限を回避される脆弱性
Title FreeBSD のカーネルにおけるファイルシステムの書き込み権限を回避される脆弱性
Summary

FreeBSD のカーネルの mmap の実装の sys/vm/vm_map.c 内の vm_map_lookup 関数は、タスクがメモリロケーションへの書き込み権限を持つべきかどうかを適切に判定しないため、ファイルシステムの書き込み権限を回避され、その結果、権限を取得される脆弱性が存在します。

Possible impacts ローカルユーザにより、読み取り権限を利用する巧妙に細工されたアプリケーションを介して、mmap や ptrace のシステムコールを呼び出されることで、ファイルシステムの書き込み権限を回避され、その結果、権限を取得される可能性があります。
Solution

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

Publication Date June 18, 2013, midnight
Registration Date July 3, 2013, 1:55 p.m.
Last Update July 3, 2013, 1:55 p.m.
CVSS2.0 : 警告
Score 6.9
Vector AV:L/AC:M/Au:N/C:C/I:C/A:C
Affected System
FreeBSD
FreeBSD 9.0 から 9.1-RELEASE-p4
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2013年07月03日]
  掲載
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2013-2171
Summary

The vm_map_lookup function in sys/vm/vm_map.c in the mmap implementation in the kernel in FreeBSD 9.0 through 9.1-RELEASE-p4 does not properly determine whether a task should have write access to a memory location, which allows local users to bypass filesystem write permissions and consequently gain privileges via a crafted application that leverages read permissions, and makes mmap and ptrace system calls.

Publication Date July 2, 2013, 12:43 p.m.
Registration Date Jan. 26, 2021, 3:37 p.m.
Last Update Nov. 21, 2024, 10:51 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:o:freebsd:freebsd:9.0:*:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:9.1:*:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:9.1:p4:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List