CVE-2004-0114 Privilege escalation in n/a

Medium 4.6 Published Updated

Local attackers can exploit a reference count error in shared memory to access kernel memory and escalate privileges on FreeBSD, NetBSD, and OpenBSD.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2004-0114?

CVE-2004-0114 is a medium-severity vulnerability in Freebsd Freebsd, published on 1 Sep 2004. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2004-0114?

It affects 3 products.

Products include Freebsd Freebsd, Netbsd Netbsd, Openbsd Openbsd.

How do I fix CVE-2004-0114?

No fix has been published for CVE-2004-0114 yet. Limit exposure of the affected software until one is available.

Is CVE-2004-0114 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-0114 exists.

Public exploit code: 1 Exploit-DB entry.

All Freebsd Freebsd vulnerabilities

Sources

Also known as GHSA-5j5g-mmc4-hqmg.

Is CVE-2004-0114 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free