libvirt の LXC ドライバにおける任意のホストデバイスを削除される脆弱性
タイトル libvirt の LXC ドライバにおける任意のホストデバイスを削除される脆弱性
概要

libvirt の LXC ドライバ (lxc/lxc_driver.c) には、"/proc/$PID/root 配下のパス" および virInitctlSetRunLevel 関数に関する処理に不備があるため、任意のホストデバイスを削除される、任意のノード (mknod) を作成される、およびサービス運用妨害 (シャットダウンまたはホスト OS のリブート) 状態にされる脆弱性が存在します。

想定される影響 ローカルユーザにより、(1) virDomainDeviceDettach API およびコンテナ内の / dev へのシンボリックリンク攻撃を介して、任意のホストデバイスを削除される、(2) virDomainDeviceAttach API およびコンテナ内の / dev へのシンボリックリンク攻撃を介して、任意のノード (mknod) を作成される、および (3) virDomainShutdown または (4) virDomainReboot API およびコンテナ内の /dev/initctl へのシンボリックリンク攻撃を介して、サービス運用妨害 (シャットダウンまたはホスト OS のリブート) 状態にされる可能性があります。
対策

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

公表日 2013年12月17日0:00
登録日 2014年4月21日13:52
最終更新日 2014年4月21日13:52
CVSS2.0 : 警告
スコア 5.8
ベクター AV:A/AC:M/Au:S/C:N/I:P/A:C
影響を受けるシステム
レッドハット
libvirt 1.0.1 から 1.2.1
Fedora Project
Fedora 20
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
変更履歴
No 変更内容 変更日
0 [2014年04月21日]
  掲載
2018年2月17日10:37

NVD脆弱性情報
CVE-2013-6456
概要

The LXC driver (lxc/lxc_driver.c) in libvirt 1.0.1 through 1.2.1 allows local users to (1) delete arbitrary host devices via the virDomainDeviceDettach API and a symlink attack on /dev in the container; (2) create arbitrary nodes (mknod) via the virDomainDeviceAttach API and a symlink attack on /dev in the container; and cause a denial of service (shutdown or reboot host OS) via the (3) virDomainShutdown or (4) virDomainReboot API and a symlink attack on /dev/initctl in the container, related to "paths under /proc/$PID/root" and the virInitctlSetRunLevel function.

公表日 2014年4月16日8:55
登録日 2021年1月26日15:47
最終更新日 2024年11月21日10:59
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:redhat:libvirt:1.0.5.4:*:*:*:*:*:*:*
cpe:2.3:a:redhat:libvirt:1.0.5.3:*:*:*:*:*:*:*
cpe:2.3:a:redhat:libvirt:1.0.5:*:*:*:*:*:*:*
cpe:2.3:a:redhat:libvirt:1.0.5.6:*:*:*:*:*:*:*
cpe:2.3:a:redhat:libvirt:1.0.4:*:*:*:*:*:*:*
cpe:2.3:a:redhat:libvirt:1.2.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:libvirt:1.0.1:*:*:*:*:*:*:*
cpe:2.3:a:redhat:libvirt:1.2.1:*:*:*:*:*:*:*
cpe:2.3:a:redhat:libvirt:1.1.2:*:*:*:*:*:*:*
cpe:2.3:a:redhat:libvirt:1.1.4:*:*:*:*:*:*:*
cpe:2.3:a:redhat:libvirt:1.0.6:*:*:*:*:*:*:*
cpe:2.3:a:redhat:libvirt:1.0.2:*:*:*:*:*:*:*
cpe:2.3:a:redhat:libvirt:1.1.1:*:*:*:*:*:*:*
cpe:2.3:a:redhat:libvirt:1.0.5.1:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:20:*:*:*:*:*:*:*
cpe:2.3:a:redhat:libvirt:1.0.5.2:*:*:*:*:*:*:*
cpe:2.3:a:redhat:libvirt:1.0.3:*:*:*:*:*:*:*
cpe:2.3:a:redhat:libvirt:1.0.5.5:*:*:*:*:*:*:*
cpe:2.3:a:redhat:libvirt:1.1.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:libvirt:1.1.3:*:*:*:*:*:*:*
関連情報、対策とツール
共通脆弱性一覧