Re: security bug with how PHP is added as an Apache handler | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On Mon, Oct 13, 2008 at 02:59:31PM +0100, Kae Verens wrote: > The conf.d/php.conf file attaches .php files to its handler like this: > AddHandler php5-script .php This is a feature, which allows MultiViews to work properly. > This means that a web application which allows people to upload files > (images, for example), but not PHP scripts, can be circumvented by > naming the script somescript.php.notphp and then uploading it. A webapp which: a) allows users to upload files with arbitrary filenames, and b) makes such file immediately publicly-accessible is broken and insecure. Changing the default httpd configuration as you suggest won't make it secure. Regards, Joe _______________________________________________ Fedora-php-devel-list mailing list Fedora-php-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-php-devel-list
[Home] [Fedora Users] [Fedora Legacy List] [Fedora Maintainers] [Fedora Desktop] [Red Hat 9 Bible] [Fedora Bible] [Fedora SELinux] [Big List of Linux Books] [Yosemite News] [Yosemite Photos] [KDE Users] [Fedora Tools]