Nginx buffer overflow vulnerability discovered

by Ruchira on May 8, 2013


Nginx is the web server that people use for speed. And I have published a guide on how you can auto install Nginx. Few days ago developers have discovered a serious buffer overflow vulnerability on Nginx versions 1.3.9 to 1.4.0. This is documented on CVE-2013-2028. According to the statement ,

Greg MacManus, of iSIGHT Partners Labs, found a security problem
in several recent versions of nginx.  A stack-based buffer
overflow might occur in a worker process while handling a
specially crafted request, potentially resulting in arbitrary code
execution (CVE-2013-2028).

The problem affects nginx 1.3.9 - 1.4.0.

The problem is fixed in nginx 1.5.0, 1.4.1.

Patch for the problem can be found here:

As a temporary workaround the following configuration
can be used in each server{} block:

    if ($http_transfer_encoding ~* chunked) {
        return 444;

They says that successful exploitation will lead in to arbitrary code execution resulting the server to be completely exploited. So if you are running aforementioned versions of Nginx dont forget to update it to the latest available version which is 1.4.1 or latest development version which is 1.5.0

I'm Ruchira Sahan and all posts on this blog are completely my thoughts and writings. I love DIY and Technology. So feel free to contact me for anything about this blog and don't forget to add a comment if this blog helped you! Thanks
View all posts by Ruchira

{ 0 comments… add one now }

Leave a Comment

Previous post:

Next post: