製品・ソフトウェアに関する情報
Linux kernel の do_coredump 関数における任意のファイルを改ざんされる脆弱性
Title Linux kernel の do_coredump 関数における任意のファイルを改ざんされる脆弱性
Summary

Linux kernel の fs/exec.c の do_coredump 関数には、O_EXCL に flag 変数を設定するが使用しないため、任意のファイルを改ざんされる脆弱性が存在します。

Possible impacts 攻撃者により、コアダンプ時の上書き攻撃を介して、任意のファイルを改ざんされる可能性があります。
Solution

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

Publication Date Dec. 14, 2006, midnight
Registration Date Feb. 18, 2010, 2:28 p.m.
Last Update Feb. 18, 2010, 2:28 p.m.
CVSS2.0 : 危険
Score 7.5
Vector AV:N/AC:L/Au:N/C:P/I:P/A:P
Affected System
レッドハット
Red Hat Enterprise Linux 5 (server)
Red Hat Enterprise Linux Desktop 5.0 (client)
Red Hat Enterprise Linux EUS 5.4.z (server)
Red Hat Enterprise Virtualization 
Linux
Linux Kernel 2.6.19
CVE (情報セキュリティ 共通脆弱性識別子)
ベンダー情報
その他
Change Log
No Changed Details Date of change
0 [2010年02月18日]
  掲載
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2006-6304
Summary

The do_coredump function in fs/exec.c in the Linux kernel 2.6.19 sets the flag variable to O_EXCL but does not use it, which allows context-dependent attackers to modify arbitrary files via a rewrite attack during a core dump.

Publication Date Dec. 15, 2006, 5:28 a.m.
Registration Date Jan. 29, 2021, 3:51 p.m.
Last Update Oct. 11, 2017, 10:31 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:o:linux:linux_kernel:2.6.19:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List