Files
CVEs-PoC/2006/CVE-2006-0145.md
T
2024-06-18 02:51:15 +02:00

18 lines
756 B
Markdown

### [CVE-2006-0145](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0145)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### Description
The kernfs_xread function in kernfs in NetBSD 1.6 through 2.1, and OpenBSD 3.8, does not properly validate file offsets against negative 32-bit values that occur as a result of truncation, which allows local users to read arbitrary kernel memory and gain privileges via the lseek system call.
### POC
#### Reference
- http://securityreason.com/securityalert/405
#### Github
No PoCs found on GitHub currently.