HP Tru64 NLSPATH Environment Variable Local Buffer Overflow Vulnerability
BID:5647
Info
HP Tru64 NLSPATH Environment Variable Local Buffer Overflow Vulnerability
| Bugtraq ID: | 5647 |
| Class: | Boundary Condition Error |
| CVE: |
CVE-2002-1604 |
| Remote: | No |
| Local: | Yes |
| Published: | Aug 30 2002 12:00AM |
| Updated: | Jul 11 2009 03:56PM |
| Credit: | These issues were initially published in a HP Security Bulletin. Discovery is credited to Snosoft. |
| Vulnerable: |
Compaq Tru64 5.1 a PK2 (BL2) Compaq Tru64 5.1 a PK1 (BL1) Compaq Tru64 5.1 a Compaq Tru64 5.1 PK5 (BL19) Compaq Tru64 5.1 PK4 (BL18) Compaq Tru64 5.1 PK3 (BL17) Compaq Tru64 5.1 Compaq Tru64 5.0 a PK3 (BL17) Compaq Tru64 5.0 a Compaq Tru64 5.0 PK4 (BL18) Compaq Tru64 5.0 PK4 (BL17) Compaq Tru64 4.0 g PK3 (BL17) Compaq Tru64 4.0 g Compaq Tru64 4.0 f PK7 (BL18) Compaq Tru64 4.0 f PK6 (BL17) Compaq Tru64 4.0 f Compaq Digital Unix 4.0 f |
| Not Vulnerable: | |
Discussion
HP Tru64 NLSPATH Environment Variable Local Buffer Overflow Vulnerability
Tru64 is a commercially available UNIX operating system. Tru64 was originally developed by Digital and is now distributed and maintained by HP.
A buffer overflow has been discovered in a number of Tru64 binaries. Attackers may exploit this via an overly long value for the NLSPATH environment variable. Because of this flaw, a local attacker may be able to execute arbitrary instructions. As a result, the attacker may be able to execute malicious code and elevate privileges.
Tru64 is a commercially available UNIX operating system. Tru64 was originally developed by Digital and is now distributed and maintained by HP.
A buffer overflow has been discovered in a number of Tru64 binaries. Attackers may exploit this via an overly long value for the NLSPATH environment variable. Because of this flaw, a local attacker may be able to execute arbitrary instructions. As a result, the attacker may be able to execute malicious code and elevate privileges.
Exploit / POC
HP Tru64 NLSPATH Environment Variable Local Buffer Overflow Vulnerability
The following exploit was provided by stripey <[email protected]>:
The following exploit was provided by stripey <[email protected]>:
Solution / Fix
HP Tru64 NLSPATH Environment Variable Local Buffer Overflow Vulnerability
Solution:
HP has released fixes for Tru64 UNIX/TruCluster systems. Note that appropriate patchkits must be applied.
Compaq Tru64 4.0 g PK3 (BL17)
Compaq Tru64 4.0 f PK7 (BL18)
Compaq Tru64 5.0 a PK3 (BL17)
Compaq Tru64 5.1 a PK2 (BL2)
Compaq Tru64 5.1 PK5 (BL19)
Solution:
HP has released fixes for Tru64 UNIX/TruCluster systems. Note that appropriate patchkits must be applied.
Compaq Tru64 4.0 g PK3 (BL17)
-
HP T64V40GB17-C0010410-15273-ES-20020827.tar
Requires Tru64 V4.0G PK3 (BL17).
ftp://ftp1.support.compaq.com/public/unix/v4.0g/T64V40GB17-C0010410-15 273-ES-20020827.tar
Compaq Tru64 4.0 f PK7 (BL18)
-
HP DUV40FB18-C0067405-15263-ES-20020827.tar
Requires Tru64 V4.0F PK7 (BL18).
ftp://ftp1.support.compaq.com/public/unix/v4.0f/DUV40FB18-C0067405-152 63-ES-20020827.tar
Compaq Tru64 5.0 a PK3 (BL17)
-
HP T64V50AB17-C0018406-15268-ES-20020827.tar
Requires Tru64 V5.0A PK3 (BL17).
ftp://ftp1.support.compaq.com/public/unix/v5.0a/T64V50AB17-C0018406-15 268-ES-20020827.tar
Compaq Tru64 5.1 a PK2 (BL2)
-
HP T64V51AB2-C0041402-15271-ES-20020827.tar
Requires Tru64 V5.1A PK2 (BL2).
ftp://ftp1.support.compaq.com/public/unix/v5.1a/T64V51AB2-C0041402-152 71-ES-20020827.tar
Compaq Tru64 5.1 PK5 (BL19)
-
HP T64V51B19-C0136901-15143-ES-20020817.tar
Requires Tru64 V5.1 PK5 (BL19).
ftp://ftp1.support.compaq.com/public/unix/v5.1/T64V51B19-C0136901-1514 3-ES-20020817.tar
References
HP Tru64 NLSPATH Environment Variable Local Buffer Overflow Vulnerability
References:
References:
- Vulnerability Note VU#158499 (CERT)
- Vulnerability Note VU#416427 (CERT)
- Vulnerability Note VU#437899 (CERT)
- Vulnerability Note VU#448987 (CERT)
- Vulnerability Note VU#531355 (CERT)
- Vulnerability Note VU#567963 (CERT)
- Vulnerability Note VU#584243 (CERT)
- Vulnerability Note VU#592515 (CERT)
- Vulnerability Note VU#846307 (CERT)