Multiple vendor BSD platforms allows elevated privileges

bsd-shmat-gain-privileges (15061) The risk level is classified as HighHigh Risk

Description:

Multiple vendor BSD platforms could allow a local attacker to gain elevated privileges on the system, caused by improper incrimination of a shared memory segment's reference count by the shmat function in the System V Shared Memory interface. A local attacker could exploit this vulnerability to obtain sensitive information or gain elevated privileges on the vulnerable system.


Consequences:

Gain Privileges

Remedy:

For FreeBSD:
Upgrade to the latest version of FreeBSD (RELENG_4, RELENG_5_2, 5.2-RELEASE-p2, RELENG_5_1, 5.1-RELEASE-p14, RELENG_5_0, 5.0-RELEASE-p20, RELENG_4_9, 4.9-RELEASE-p2, RELENG_4_8, 4.8-RELEASE-p15, RELENG_4_7, 4.7-RELEASE-p25), as listed in FreeBSD Security Advisory FreeBSD-SA-04:02.shmat. See References.

For OpenBSD 3.4:
Apply the 010_sysvshm.patch, available from the OpenBSD 3.4 errata Web site. See References.

For OpenBSD 3.3:
Apply the 015_sysvshm.patch, available from the OpenBSD 3.4 errata Web site. See References.

For NetBSD:
Upgrade to the appropriate fixed versions of NetBSD, as listed in NetBSD Security Advisory 2004-004. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

References:

Platforms Affected:

  • FreeBSD FreeBSD
  • NetBSD NetBSD 1.5
  • NetBSD NetBSD 1.5.1
  • NetBSD NetBSD 1.5.2
  • NetBSD NetBSD 1.5.3
  • NetBSD NetBSD 1.6
  • NetBSD NetBSD 1.6.1
  • OpenBSD OpenBSD 3.x

Reported:

Feb 05, 2004

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page