ETerm Window Title Reporting Escape Sequence Command Execution Vulnerability
BID:10237
Info
ETerm Window Title Reporting Escape Sequence Command Execution Vulnerability
| Bugtraq ID: | 10237 |
| Class: | Design Error |
| CVE: |
CVE-2003-0068 |
| Remote: | Yes |
| Local: | No |
| Published: | Feb 24 2003 12:00AM |
| Updated: | Jul 12 2009 04:06AM |
| Credit: | Discovery of these issues is credited to H D Moore and Digital Defense. |
| Vulnerable: |
Michael Jennings Eterm 0.9.1 Michael Jennings Eterm 0.8.10 |
| Not Vulnerable: |
Michael Jennings Eterm 0.9.2 |
Discussion
ETerm Window Title Reporting Escape Sequence Command Execution Vulnerability
eterm's window title reporting feature may be abused to execute arbitrary commands on the system running the vulnerable terminal emulator. The terminal software supports escape sequences which can change the title of a terminal window and then report the title back to the command line. In this manner, an attacker can inject malicious escape sequences which include arbitrary commands in the terminal window title and then cause the commands to be displayed on the command line.
It is possible to exploit this issue if an attacker can cause malicious escape sequences to be displayed in a terminal window of a vulnerable terminal emulator. Exploitation will still require the user to press 'Enter' once the malicious commands are dumped from the window title to the command line. Other emulator features may be used to obfuscate the attack and trick the user into pressing 'Enter'.
eterm's window title reporting feature may be abused to execute arbitrary commands on the system running the vulnerable terminal emulator. The terminal software supports escape sequences which can change the title of a terminal window and then report the title back to the command line. In this manner, an attacker can inject malicious escape sequences which include arbitrary commands in the terminal window title and then cause the commands to be displayed on the command line.
It is possible to exploit this issue if an attacker can cause malicious escape sequences to be displayed in a terminal window of a vulnerable terminal emulator. Exploitation will still require the user to press 'Enter' once the malicious commands are dumped from the window title to the command line. Other emulator features may be used to obfuscate the attack and trick the user into pressing 'Enter'.
Exploit / POC
ETerm Window Title Reporting Escape Sequence Command Execution Vulnerability
No exploit is required to leverage this issue.
No exploit is required to leverage this issue.
Solution / Fix
ETerm Window Title Reporting Escape Sequence Command Execution Vulnerability
Solution:
Gentoo Linux has released an advisory. Users who have installed x11-terms/eterm are advised to upgrade to eterm-0.9.2-r3 by issuing the following commands:
emerge sync
emerge -u eterm
emerge clean
Mandrake has released advisory MDKSA-2003:040 dealing with this and other issues. Please see the referenced advisory for more information.
Debian has released advisory DSA 496-1 dealing with this issue. Please see the referenced advisory for more information and details on obtaining fixes.
This issue has been addressed in Eterm 0.9.2. Users are advised to upgrade.
Michael Jennings Eterm 0.8.10
Michael Jennings Eterm 0.9.1
Solution:
Gentoo Linux has released an advisory. Users who have installed x11-terms/eterm are advised to upgrade to eterm-0.9.2-r3 by issuing the following commands:
emerge sync
emerge -u eterm
emerge clean
Mandrake has released advisory MDKSA-2003:040 dealing with this and other issues. Please see the referenced advisory for more information.
Debian has released advisory DSA 496-1 dealing with this issue. Please see the referenced advisory for more information and details on obtaining fixes.
This issue has been addressed in Eterm 0.9.2. Users are advised to upgrade.
Michael Jennings Eterm 0.8.10
-
Michael Jennings Eterm 0.9.2
http://www.eterm.org/download/
Michael Jennings Eterm 0.9.1
-
MandrakeSoft Eterm-0.9.2-2.1mdk.i586.rpm
Mandrake Linux 9.0
http://www.mandrakesecure.net/en/ftp.php -
MandrakeSoft Eterm-devel-0.9.2-2.1mdk.i586.rpm
Mandrake Linux 9.0
http://www.mandrakesecure.net/en/ftp.php -
Michael Jennings Eterm 0.9.2
http://www.eterm.org/download/
References
ETerm Window Title Reporting Escape Sequence Command Execution Vulnerability
References:
References:
- TERMINAL EMULATOR SECURITY ISSUES (Digital Defense)
- Terminal Emulator Security Issues (H D Moore
)