FreeBSD vfs_mount.c buffer overflow
|freebsd-vfsmount-bo (45143)||High Risk|
FreeBSD is vulnerable to a stack-based buffer overflow, caused by improper bounds checking by the vfs_mount.c file in the kernel. If vfs.usermount is enabled, a local attacker could send a specially-crafted mount or nmount system call to overflow a buffer and execute arbitrary code on the system with kernel level privileges.
Refer to FreeBSD-SA-08:08.nmount for patch, upgrade or suggested workaround information. See References.
- FreeBSD Web site: The FreeBSD Project.
- FreeBSD-SA-08:08.nmount: nmount(2) local arbitrary code execution.
- BID-31002: FreeBSD 'mount(2)' and 'nmount(2)' Multiple Stack Buffer Overflow Vulnerabilities
- CVE-2008-3531: Stack-based buffer overflow in sys/kern/vfs_mount.c in the kernel in FreeBSD 7.0 and 7.1, when vfs.usermount is enabled, allows local users to gain privileges via a crafted (1) mount or (2) nmount system call, related to copying of user defined data in certain error conditions.
- OSVDB ID: 48467: FreeBSD Kernel sys/kern/vfs_mount.c User Data Handling Local Overflow
- SECTRACK ID: 1020816: FreeBSD nmount(2) Bug Lets Local Users Gain Elevated Privileges
- FreeBSD FreeBSD 7.0
Sep 03, 2008
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
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
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 IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.