Nginx 0day 空字节执行漏洞

Nginx %00空字节执行任意代码(php)漏洞

nginx 0.5.*nginx 0.6.*nginx 0.7 <= 0.7.65nginx 0.8 <= 0.8.37
Possible Arbitrary Code Execution with Null Bytes, PHP, and Old Versions of nginxNgnix在遇到%00空字节时与后端FastCGI处理不一致,导致可以在图片中嵌入PHP代码然后通过访问xxx.jpg%00.php来执行其中的代码
In vulnerable versions of nginx, null bytes are allowed in URIs by default
(their presence is indicated via a variable named zero_in_uri defined in ngx_http_request.h).Individual modules have the ability to opt-out of handling URIs with null bytes.
However, not all of them do; in particular, the FastCGI module does not.

没有评论:

发表评论

Follow Us

FOLLOW US

Blog Archive

Comments

Blogger 提供支持.

Search This Blog

Tags

header ads