Skip to content

Commit

Permalink
[VD:LocalFileSystem] fix #3615 Using .php8 in PHP handler leading to RCE
Browse files Browse the repository at this point in the history
  • Loading branch information
nao-pon committed Dec 19, 2023
1 parent 15bfec8 commit d2fce10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions php/elFinderVolumeDriver.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,8 @@ abstract class elFinderVolumeDriver
'php4:*' => 'text/x-php',
'php5:*' => 'text/x-php',
'php7:*' => 'text/x-php',
'php8:*' => 'text/x-php',
'php9:*' => 'text/x-php',
'phtml:*' => 'text/x-php',
'phar:*' => 'text/x-php',
'cgi:*' => 'text/x-httpd-cgi',
Expand Down

0 comments on commit d2fce10

Please sign in to comment.