Welcome! Log In Create A New Profile

Advanced

Re: nginx 0day exploit for nginx + fastcgi PHP

January 27, 2011 01:08AM
On Wed, Jan 26, 2011 at 9:23 PM, Edho P Arief <edhoprima@gmail.com> wrote:

> I believe one of the solution is adding
>
> try_files $uri =403;

It adds another stat call or two but I believe it's acceptable (and
the stat calls are cached using open_file_cache

> And the other is to not use php at all :)

Blasphemy!

You can also use something Igor had mentioned using named captures:

location ~ ^(?<script>.+\.php)(?<path_info>.*)$ {
.... other fastcgi params ...
fastcgi_param SCRIPT_FILENAME $document_root$script;
}

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
SubjectAuthorPosted

nginx 0day exploit for nginx + fastcgi PHP

Avleen VigMay 21, 2010 01:14PM

Re: nginx 0day exploit for nginx + fastcgi PHP

Avleen VigMay 21, 2010 01:30PM

Re: nginx 0day exploit for nginx + fastcgi PHP

Eren TürkayMay 25, 2010 11:44AM

Re: nginx 0day exploit for nginx + fastcgi PHP

mikeMay 21, 2010 01:30PM

Re: nginx 0day exploit for nginx + fastcgi PHP

Igor SysoevMay 21, 2010 01:36PM

Re: nginx 0day exploit for nginx + fastcgi PHP

Igor SysoevMay 21, 2010 01:44PM

Re: nginx 0day exploit for nginx + fastcgi PHP

mikeMay 21, 2010 01:52PM

Re: nginx 0day exploit for nginx + fastcgi PHP

Igor SysoevMay 21, 2010 02:16PM

Re: nginx 0day exploit for nginx + fastcgi PHP

Ian EvansMay 21, 2010 02:30PM

Re: nginx 0day exploit for nginx + fastcgi PHP

mikeMay 21, 2010 02:40PM

Re: nginx 0day exploit for nginx + fastcgi PHP

Igor SysoevMay 21, 2010 02:40PM

Re: nginx 0day exploit for nginx + fastcgi PHP

Ian M. EvansMay 21, 2010 03:10PM

Re: nginx 0day exploit for nginx + fastcgi PHP

Igor SysoevMay 21, 2010 04:46PM

Re: nginx 0day exploit for nginx + fastcgi PHP

Ian EvansMay 21, 2010 04:58PM

Re: nginx 0day exploit for nginx + fastcgi PHP

Igor SysoevMay 21, 2010 05:20PM

Re: nginx 0day exploit for nginx + fastcgi PHP

Ian EvansMay 21, 2010 05:54PM

Re: nginx 0day exploit for nginx + fastcgi PHP

Igor SysoevMay 22, 2010 02:10AM

Re: nginx 0day exploit for nginx + fastcgi PHP

Ian M. EvansMay 22, 2010 01:28AM

Re: nginx 0day exploit for nginx + fastcgi PHP

Igor SysoevMay 22, 2010 01:32AM

Re: nginx 0day exploit for nginx + fastcgi PHP

Ian EvansMay 22, 2010 03:00AM

Re: nginx 0day exploit for nginx + fastcgi PHP

Igor SysoevMay 22, 2010 03:58AM

Re: nginx 0day exploit for nginx + fastcgi PHP

Ian M. EvansMay 22, 2010 05:46AM

Re: nginx 0day exploit for nginx + fastcgi PHP

Igor SysoevMay 22, 2010 06:12AM

Re: nginx 0day exploit for nginx + fastcgi PHP

Ian M. EvansMay 22, 2010 06:22AM

Re: nginx 0day exploit for nginx + fastcgi PHP

Igor SysoevMay 22, 2010 06:26AM

Re: nginx 0day exploit for nginx + fastcgi PHP

Ian M. EvansMay 22, 2010 06:56AM

Re: nginx 0day exploit for nginx + fastcgi PHP

Ian M. EvansMay 22, 2010 08:22AM

Re: nginx 0day exploit for nginx + fastcgi PHP

Igor SysoevMay 22, 2010 08:30AM

Re: nginx 0day exploit for nginx + fastcgi PHP

Ian M. EvansMay 22, 2010 08:48AM

Re: nginx 0day exploit for nginx + fastcgi PHP

Ian M. EvansMay 22, 2010 06:30PM

Re: nginx 0day exploit for nginx + fastcgi PHP

Jérôme LoyetMay 21, 2010 03:50PM

Re: nginx 0day exploit for nginx + fastcgi PHP

Weibin YaoMay 23, 2010 11:24PM

Re: nginx 0day exploit for nginx + fastcgi PHP

Jérôme LoyetMay 24, 2010 03:00AM

Re: nginx 0day exploit for nginx + fastcgi PHP

Weibin YaoMay 24, 2010 04:20AM

Re: nginx 0day exploit for nginx + fastcgi PHP

Cliff WellsMay 21, 2010 09:00PM

Re: nginx 0day exploit for nginx + fastcgi PHP

Grzegorz SienkoMay 21, 2010 09:24PM

Re: nginx 0day exploit for nginx + fastcgi PHP

mikeMay 21, 2010 09:34PM

Re: nginx 0day exploit for nginx + fastcgi PHP

gdorkJanuary 26, 2011 11:07PM

Re: nginx 0day exploit for nginx + fastcgi PHP

mikeJanuary 26, 2011 11:16PM

Re: nginx 0day exploit for nginx + fastcgi PHP

edogawaconanJanuary 27, 2011 12:28AM

Re: nginx 0day exploit for nginx + fastcgi PHP

mikeJanuary 27, 2011 01:08AM

Re: nginx 0day exploit for nginx + fastcgi PHP

Cliff WellsMay 21, 2010 10:42PM

Re: nginx 0day exploit for nginx + fastcgi PHP

Ding DengMay 22, 2010 09:28AM

Re: nginx 0day exploit for nginx + fastcgi PHP

mikeMay 22, 2010 03:30PM

Re: nginx 0day exploit for nginx + fastcgi PHP

brianmercerMay 21, 2010 05:03PM

Re: nginx 0day exploit for nginx + fastcgi PHP

tuurtntDecember 14, 2011 06:26PM

Re: nginx 0day exploit for nginx + fastcgi PHP

KraiserFebruary 17, 2012 09:53AM

Re: nginx 0day exploit for nginx + fastcgi PHP

Reinis RozitisFebruary 17, 2012 11:42AM

Re: nginx 0day exploit for nginx + fastcgi PHP

zseroOctober 30, 2012 01:01PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 74
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 165 on April 21, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready