vendor:
Linux Kernel
by:
Andrey Konovalov
7,8
CVSS
HIGH
Local Privilege Escalation
269
CWE
Product Name: Linux Kernel
Affected Version From: 3.11
Affected Version To: 4.8
Patch Exists: YES
Related CWE: CVE-2016-9793
CPE: o:linux:linux_kernel
Metasploit:
https://www.rapid7.com/db/vulnerabilities/redhat_linux-cve-2016-9793/, https://www.rapid7.com/db/vulnerabilities/oracle_linux-cve-2016-9793/, https://www.rapid7.com/db/vulnerabilities/amazon_linux-cve-2016-9793/, https://www.rapid7.com/db/vulnerabilities/debian-cve-2016-9793/, https://www.rapid7.com/db/vulnerabilities/huawei-euleros-2_0_sp2-cve-2016-9793/, https://www.rapid7.com/db/vulnerabilities/huawei-euleros-2_0_sp1-cve-2016-9793/, https://www.rapid7.com/db/vulnerabilities/centos_linux-cve-2016-9793/, https://www.rapid7.com/db/vulnerabilities/suse-cve-2016-9793/, https://www.rapid7.com/db/vulnerabilities/ubuntu-cve-2016-9793/
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: QEMU
2016
CAP_NET_ADMIN -> root LPE exploit for CVE-2016-9793
This exploit is a local privilege escalation exploit for CVE-2016-9793. It is used to gain root access on affected kernels from 3.11 to 4.8. It has been tested in QEMU only. It does not include any KASLR, SMEP or SMAP bypass. The exploit uses a thread to overwrite the sock->sk_sndbuf with a payload that calls get_root() which in turn calls commit_creds() and prepare_kernel_cred() to gain root access.
Mitigation:
The best way to mitigate this vulnerability is to update the kernel to the latest version.