Closed Dk0n9 closed 5 years ago
This was assigned CVE-2019-11344.
Credit: dk from Chaitin Tech
pluck-4.7.9-dev2.tar.gz Can you try the latest checkout?
I classified this as an invalid. This is not a security concern. With the password there are easier ways to deface or take-over the website. The inclusion of the .htaccess is a server setting to have this allowed or not. In my setup SetHandler is never allowed from .htaccess and only from the vhost.
Fixed it in this latest release pluck-4.7.9-dev3.tar.gz
Location: https://github.com/pluck-cms/pluck/blob/master/data/inc/files.php#L40
Code:
When the uploaded file hits the suffix in
$blockedExtentions
, the file will be renamed to.{ext}.txt
, and missed$blockedExtentions
will not be renamed. So you can upload a webshell by overriding the.htaccess
file.Step1. Upload a file
.htaccess
File content:
Step2. Upload file
phpinfo.txt
File content:
Step3. Request