Sun Solaris vfs_getvfssw function Local Privilege Escalation Vulnerability

BID:9962

Info

Sun Solaris vfs_getvfssw function Local Privilege Escalation Vulnerability

Bugtraq ID: 9962
Class: Input Validation Error
CVE:
Remote: No
Local: Yes
Published: Mar 23 2004 12:00AM
Updated: Mar 23 2004 12:00AM
Credit: Discovery is credited to Sinan Eren.
Vulnerable: Sun Solaris 9_x86
Sun Solaris 9
Sun Solaris 8_x86
Sun Solaris 8_sparc
Sun Solaris 7.0_x86
Sun Solaris 7.0
Sun Solaris 2.6_x86
Sun Solaris 2.6
Not Vulnerable:

Discussion

Sun Solaris vfs_getvfssw function Local Privilege Escalation Vulnerability

It has been reported that Sun Solaris may be prone to a local privilege escalation vulnerability that may allow an attacker to gain root access to a vulnerable system. The issue exists due to insufficient sanitization of user-supplied data via the vfs_getvfssw() function in the Solaris kernel. An attacker can load a user-specified kernel module by using directory traversal sequences and employing the mount() or sysfs() system calls.

Exploit / POC

Sun Solaris vfs_getvfssw function Local Privilege Escalation Vulnerability

CORE has developed a working commercial exploit for their IMPACT
product. This exploit is not otherwise publicly available or known
to be circulating in the wild.

The following exploit has been submitted by Sam <Sam#0x557.org>; further details regarding exploitation of this issue can be found in the references section (getvfssw-howto.txt):

Solution / Fix

Sun Solaris vfs_getvfssw function Local Privilege Escalation Vulnerability

Solution:
Sun has released a patch to address this issue:


Sun Solaris 2.6

Sun Solaris 7.0

Sun Solaris 8_x86

Sun Solaris 2.6_x86

Sun Solaris 8_sparc

Sun Solaris 9

Sun Solaris 9_x86

Sun Solaris 7.0_x86

References

Sun Solaris vfs_getvfssw function Local Privilege Escalation Vulnerability

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