Issue Bug Closed

#22651phtml is also PHP extension and should be denied editing / uploading via fileadmin

Ernesto Baschny 05/14/10, 21:00 updated 10/11/10, 17:52

Description

Most Linux distributions with PHP enabled will add handling of .phtml files through PHP module:

AddType application/x-httpd-php .php .phtml .php3

This is currently not in the list of denied files (in PHP_EXTENSIONS_DEFAULT of t3lib/config_default.php).

This means uploading a .phtml file through File manager will make it executeable.

Solution is to add this extension to the list.

Same applies to v4.2 and v4.3.
(issue imported from #M14389)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.