Cherokee 'header.c' 非打印字符溢出序列HTTP请求任意文件执行和重写漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1118895 漏洞类型 输入验证
发布时间 2010-01-11 更新时间 2010-01-12
CVE编号 CVE-2009-4489 CNNVD-ID CNNVD-201001-096
漏洞平台 Windows CVSS评分 5.0
|漏洞来源
https://www.exploit-db.com/exploits/33501
https://www.securityfocus.com/bid/37715
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-201001-096
|漏洞详情
Cherokee0.99.32版本之前的版本中的header.c向具有一个没有审查过的非打印字符的登录文件写入数据,这可能会允许远程攻击者借助一个包含终极模拟器的一个溢出序列的HTTP请求,修改一个窗口的标题或可能执行任意执行并重写文件。
|漏洞EXP
source: http://www.securityfocus.com/bid/37715/info

Cherokee is prone to a command-injection vulnerability because it fails to adequately sanitize user-supplied input in logfiles.

Attackers can exploit this issue to execute arbitrary commands in a terminal.

Cherokee 0.99.30 and prior are vulnerable.

curl -kis http://www.example.com/%1b%5d%32%3b%6f%77%6e%65%64%07%0a
|受影响的产品
Cherokee-Project Cherokee HTTPD 0.99.30
|参考资料

来源:BID
名称:37715
链接:http://www.securityfocus.com/bid/37715
来源:MISC
链接:http://www.ush.it/team/ush/hack_httpd_escape/adv.txt
来源:BUGTRAQ
名称:20100110Nginx,Varnish,Cherokee,thttpd,mini-httpd,WEBrick,Orion,AOLserver,YawsandBoalogescapesequenceinjection
链接:http://www.securityfocus.com/archive/1/archive/1/508830/100/0/threaded
来源:svn.cherokee-project.com
链接:http://svn.cherokee-project.com/changeset/3977
来源:svn.cherokee-project.com
链接:http://svn.cherokee-project.com/changeset/3944
来源:SECUNIA
名称:37933
链接:http://secunia.com/advisories/37933