Line 1: | Line 1: | ||
− | + | {{Ckfinder Double extensions Description|code=�UNIQ70ba8410fe37519-pre-00000001-QINU}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 11:46, 3 January 2008
Due to security issues with Apache modules, it is recommended to leave the following setting enabled: �UNIQ70ba8410fe37519-pre-00000001-QINU How does it work? Suppose the following:
If "php" is on the denied extensions list, a file named foo.php cannot be uploaded. If "rar" (or any other) extension is allowed, one can upload a file named foo.rar. The file foo.php.rar has "rar" extension so, in theory, it can be also uploaded.
In some conditions Apache can treat the foo.php.rar file just like any PHP script and execute it. If CheckDoubleExtension is enabled, each part of the file name after a dot is checked, not only the last part. In this way, uploading foo.php.rar would be denied, because "php" is on the denied extensions list.