Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
CVE-2017-16995 — 리눅스 커널 버전 4.14 - 4.4 (Ubuntu 및 Debian) | Kitploit
도구/GitHubGitHub/c0dak/cve-2017-16995
Privilege EscalationVulnerability AnalysisExploitationBinary Exploitation
GitHubc0dak/cve-2017-16995

CVE-2017-16995

리눅스 커널 버전 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

  1. 관련 코드 패치 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

도구 다운로드