UXTerm Window Title Reporting Escape Sequence Command Execution Vulnerability
BID:6945
Info
UXTerm Window Title Reporting Escape Sequence Command Execution Vulnerability
| Bugtraq ID: | 6945 |
| Class: | Design Error |
| CVE: |
CVE-2003-0065 |
| Remote: | Yes |
| Local: | No |
| Published: | Feb 24 2003 12:00AM |
| Updated: | Jul 11 2009 08:06PM |
| Credit: | Discovery of these issues is credited to H D Moore and Digital Defense. |
| Vulnerable: |
National University of Singapore uxterm 2.4.1 National University of Singapore uxterm 2.3 |
| Not Vulnerable: | |
Discussion
UXTerm Window Title Reporting Escape Sequence Command Execution Vulnerability
uxterm'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'.
uxterm'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
UXTerm Window Title Reporting Escape Sequence Command Execution Vulnerability
There is no exploit code required.
There is no exploit code required.
Solution / Fix
UXTerm Window Title Reporting Escape Sequence Command Execution Vulnerability
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
References
UXTerm Window Title Reporting Escape Sequence Command Execution Vulnerability
References:
References:
- TERMINAL EMULATOR SECURITY ISSUES (Digital Defense)
- Re: Terminal Emulator Security Issues (H D Moore
) - Terminal Emulator Security Issues (H D Moore
)