Description
header.c in Cherokee before 0.99.32 writes data to a log file without sanitizing non-printable characters, which might allow remote attackers to modify a window's title, or possibly execute arbitrary commands or overwrite files, via an HTTP request containing an escape sequence for a terminal emulator.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Cherokee 0.99.30 - Terminal Escape Sequence in Logs Command Injection EDB-33501 · remote · Jan 11, 2010 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- http://svn.cherokee-project.com/changeset/3944
- 37933 third-party-advisory
- ADV-2010-0090 vdb-entry
- 37715 vdb-entry
- http://www.ush.it/team/ush/hack_httpd_escape/adv.txt
- http://svn.cherokee-project.com/changeset/3977
- 20100110 Nginx, Varnish, Cherokee, thttpd, mini-httpd, WEBrick, Orion, AOLserver, Yaws and Boa log escape sequence injection mailing-list