nginx 'ngx_http_parse.c'栈缓冲区溢出漏洞


发布日期:2013-05-07
更新日期:2013-05-08

受影响系统:
Nginx Nginx 1.4.x
描述:
--------------------------------------------------------------------------------
BUGTRAQ  ID: 59699
 CVE(CAN) ID: CVE-2013-2028
 
nginx是HTTP及反向代理服务器,同时也用作邮件代理服务器。
 
nginx 1.3.9 - 1.4.0在解析HTTP块时,"ngx_http_parse_chunked()"函数 (http/ngx_http_parse.c)中存在错误,可被利用造成栈缓冲区溢出。
 
<*来源:Greg MacManus
 
  链接:http://secunia.com/advisories/53248/
        http://www.openwall.com/lists/oss-security/2013/05/07/3
        http://nginx.org/en/security_advisories.html
 *>

建议:
--------------------------------------------------------------------------------
临时解决方法:
 
NSFOCUS建议您升级到nginx 1.4.1。但如果您不能立刻安装补丁或者升级,您可以采取以下措施以降低威胁:
 
* 在每个server{}块中使用如下配置
 
if ($http_transfer_encoding ~* chunked) {
        return 444;
    }
 
厂商补丁:
 
Nginx
 -----
 Nginx已经为此发布了一个安全公告(security_advisories)以及相应补丁:
 security_advisories:nginx security advisories
 链接:http://nginx.org/en/security_advisories.html
 
补丁下载:http://nginx.org/download/patch.2013.chunked.txt

Nginx 的详细介绍:请点这里
Nginx 的下载地址:请点这里

相关内容