vendor:
FreeBSD
by:
Qualys, Inc.
7,5
CVSS
HIGH
Stack Clash
119
CWE
Product Name: FreeBSD
Affected Version From: FreeBSD 10.3
Affected Version To: FreeBSD 11.1
Patch Exists: YES
Related CWE: CVE-2017-1084
CPE: o:freebsd:freebsd
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Linux, Mac, Windows
2017
FreeBSD_CVE-2017-FGPU.c
This program is a proof-of-concept exploit for CVE-2017-1084, a vulnerability in the FreeBSD kernel. It uses a technique called 'stack clash' to overwrite the stack guard page and gain access to the kernel stack. The exploit works by allocating memory pages in a loop until the kernel stack is reached. It then uses a function called 'smash_no_jump' to overwrite the stack guard page. Finally, it prints out the contents of the kernel stack to demonstrate that it has been successfully overwritten.
Mitigation:
The vulnerability can be mitigated by applying the appropriate security patches from the vendor.