NetBSD 'hack(6)' Multiple Privilege Escalation Vulnerabilities

BID:35542

Info

NetBSD 'hack(6)' Multiple Privilege Escalation Vulnerabilities

Bugtraq ID: 35542
Class: Boundary Condition Error
CVE:
Remote: No
Local: Yes
Published: Jun 30 2009 12:00AM
Updated: May 19 2010 10:02AM
Credit: David A. Holland
Vulnerable: NetBSD NetBSD 4.0.1
NetBSD NetBSD 5.0
NetBSD NetBSD 4.0
Not Vulnerable:

Discussion

NetBSD 'hack(6)' Multiple Privilege Escalation Vulnerabilities

The NetBSD 'hack(6)' game is prone to multiple privilege-escalation vulnerabilities caused by buffer-overflow errors because it fails to properly bounds-check user-supplied input before copying it to an insufficiently sized memory buffer.

A local attacker may exploit these issues to elevate privileges to the 'games' group.

Exploit / POC

NetBSD 'hack(6)' Multiple Privilege Escalation Vulnerabilities

A working commercial exploit is available through VUPEN Security - Exploit and PoCs Service. This exploit is not otherwise publicly available or known to be circulating in the wild.

The following proofs of concept are available:

Solution / Fix

NetBSD 'hack(6)' Multiple Privilege Escalation Vulnerabilities

Solution:
The vendor has released patches. Please see the references for details.

References

NetBSD 'hack(6)' Multiple Privilege Escalation Vulnerabilities

References:

© CVE.report 2026

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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report