Eterm PATH_ENV Buffer Overflow Vulnerability

BID:7708

Info

Eterm PATH_ENV Buffer Overflow Vulnerability

Bugtraq ID: 7708
Class: Boundary Condition Error
CVE: CVE-2003-0382
Remote: No
Local: Yes
Published: May 27 2003 12:00AM
Updated: Jul 11 2009 10:06PM
Credit: Discovery of this vulnerability has been credited to bazarr <[email protected]>.
Vulnerable: Eterm Eterm 0.9.2
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 alpha
+ Debian Linux 3.0
Eterm Eterm 0.9.1
- Debian Linux 2.3 powerpc
Not Vulnerable:

Discussion

Eterm PATH_ENV Buffer Overflow Vulnerability

Eterm has been reported prone to a local buffer overflow vulnerability. Code execution with elevated privileges has been confirmed possible.

The issue is due to a lack of sufficient bounds checking performed on an environment variable that is copied into an internal memory buffer.

An attacker may exploit this vulnerability to have arbitrary shell code executed with elevated privileges. Code execution will occur in the context of the vulnerable Eterm, which may have setuid/setgid utmp or possibly root on some Unix/Linux distributions.

Exploit / POC

Eterm PATH_ENV Buffer Overflow Vulnerability

An exploit for this vulnerability is publicly available.

Solution / Fix

Eterm PATH_ENV Buffer Overflow Vulnerability

Solution:
Debian has released a revised advisory containing new updates that eliminate the vulnerability. The previous fixes introduced a non-security related bug. See advisory DSA-309-2 (in the reference section) for download links to these new fixes.


Eterm Eterm 0.9.2

References

Eterm PATH_ENV Buffer Overflow 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