Results 1 to 1 of 1
-
3rd Jul 2010, 01:40 PM #1
Nginx Critical Security php-cgi bug
There is a bug in nginx that allows a normal file to executed as php.
Proof of concept:
Code:http://localhost/robots.txt/index.php
Fix:
Open nginx conf and locate:
Code:# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 location ~ .*\.php$ { root html; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; include fastcgi_params; }
Add after:
Code:# http://www.80sec.com/nginx-securit.html if ( $fastcgi_script_name ~ \..*\/.*php ) { return 403; }
Source (Use google translate):
Code:http://www.80sec.com/nginx-securit.html
NewEraCracker Reviewed by NewEraCracker on . Nginx Critical Security php-cgi bug There is a bug in nginx that allows a normal file to executed as php. Proof of concept: http://localhost/robots.txt/index.php Fix: Open nginx conf and locate: # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 location ~ .*\.php$ { Rating: 5Trusted: Dom, l0calh0st, 0ccul7, robert420
Find all threads started by NewEraCracker
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Critical Vulnerability in Windows RDP
By shahaz in forum Hosting DiscussionReplies: 0Last Post: 15th Mar 2012, 10:32 AM -
PHP 5.3.9 Critical Bug - Patch now
By m107 in forum Webmaster DiscussionReplies: 6Last Post: 6th Feb 2012, 08:07 AM -
Drive Critical: /dev/loop0 (/var/tmp)
By Divvy in forum Server ManagementReplies: 13Last Post: 26th Mar 2011, 10:09 PM -
Drive Space Critical on ...
By Divvy in forum Server ManagementReplies: 11Last Post: 13th Dec 2010, 06:43 PM -
Critical Review: My BLog
By TheRapidshareLinksWorld in forum Site ReviewsReplies: 5Last Post: 21st Nov 2009, 10:57 PM
themaCreator - create posts from...
Version 3.45 released. Open older version (or...