CVE-2001-0422

Solaris 8 and earlier - Buffer Overflow via HOME Environment Variable

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2001-0422. PoCs published by Riley Hassell.

AI-analyzed exploit summary This exploit targets a buffer overflow in Xsun (Solaris X11 server) via an overly long HOME environment variable. It executes arbitrary shellcode to spawn a root shell on port 1524 by leveraging seteuid/setuid privileges.

Description

Buffer overflow in Xsun in Solaris 8 and earlier allows local users to execute arbitrary commands via a long HOME environmental variable.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Riley Hassell · clocalsolaris
https://www.exploit-db.com/exploits/20743

This exploit targets a buffer overflow in Xsun (Solaris X11 server) via an overly long HOME environment variable. It executes arbitrary shellcode to spawn a root shell on port 1524 by leveraging seteuid/setuid privileges.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Solaris 7 (x86) /usr/openwin/bin/Xsun
No auth needed
Prerequisites: Local access to the target system · Xsun running on Solaris 7 (x86)
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4
Core References
Exploit, Patch, Vendor Advisory mailing-list x_refsource_bugtraq
http://archives.neohapsis.com/archives/bugtraq/2001-04/0158.html
Third Party Advisory, VDB Entry vdb-entry signature x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A555
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/6343
Exploit, Patch, Vendor Advisory vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/2561

Scores

EPSS 0.0127
EPSS Percentile 66.3%

Details

Status published
Products (7)
sun/solaris 2.6
sun/sunos 5.3
sun/sunos 5.4
sun/sunos 5.5
sun/sunos 5.5.1
sun/sunos 5.7
sun/sunos 5.8
Published Jul 02, 2001
Tracked Since Feb 18, 2026