medium4.6Public exploit code
CVE-2004-0114
The shmat system call in the System V Shared Memory interface for FreeBSD 5.2 and earlier, NetBSD 1.3 and earlier, and OpenBSD 2.6 and earlier, does not proper…
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- BSD - SHMAT System Call Privilege Escalation2004-02-05 · local · bsd · Verified
Impact
The shmat system call in the System V Shared Memory interface for FreeBSD 5.2 and earlier, NetBSD 1.3 and earlier, and OpenBSD 2.6 and earlier, does not properly decrement a shared memory segment's reference count when the vm_map_find function fails, which could allow local users to gain read or write access to a portion of kernel memory and gain privileges.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Freebsd | Freebsd | through 5.2 |
| Netbsd | Netbsd | through 1.3 |
| Openbsd | Openbsd | through 2.6 |
References
- NVD record
- CVE.org record
- http://marc.info/?l=bugtraq&m=107608375207601&w=2
- http://www.openbsd.org/errata33.html#sysvshm
- http://www.osvdb.org/3836
- http://www.pine.nl/press/pine-cert-20040201.txt
- http://www.securityfocus.com/bid/9586
- https://exchange.xforce.ibmcloud.com/vulnerabilities/15061
- http://marc.info/?l=bugtraq&m=107608375207601&w=2
- http://www.openbsd.org/errata33.html#sysvshm
- http://www.osvdb.org/3836
- http://www.pine.nl/press/pine-cert-20040201.txt
- http://www.securityfocus.com/bid/9586
- https://exchange.xforce.ibmcloud.com/vulnerabilities/15061