CVE-2004-0114

FreeBSD <5.2, NetBSD <1.3, OpenBSD <2.6 - Privilege Escalation

Title source: llm
STIX 2.1

Description

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.

Exploits (1)

exploitdb WRITEUP VERIFIED
by Joost Pol · textlocalbsd
https://www.exploit-db.com/exploits/23655

References (8)

Core 8
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/15061
Patch, Vendor Advisory vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/9586
Various Sources x_refsource_confirm
http://www.openbsd.org/errata33.html#sysvshm
Various Sources x_refsource_misc
http://www.pine.nl/press/pine-cert-20040201.txt
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/3836
Mailing List mailing-list x_refsource_bugtraq
http://marc.info/?l=bugtraq&m=107608375207601&w=2
Patch, Vendor Advisory vendor-advisory x_refsource_freebsd
ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-04:02.shmat.asc
Vendor Advisory vendor-advisory x_refsource_netbsd
ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2004-004.txt.asc

Scores

EPSS 0.0033
EPSS Percentile 56.1%

Details

Status published
Products (3)
freebsd/freebsd < 5.2
netbsd/netbsd < 1.3
openbsd/openbsd < 2.6
Published Mar 03, 2004
Tracked Since Feb 18, 2026