File extension disallowed
Posted: Mon Sep 09, 2019 8:05 am
Currently (Hesk 2.8.4 - but is also in older versions) file extensions like .php are not allowed, because they are removed also after definition inside the file admin_settings_save.php
I know that such a file could be a security risk (.js also and this is allowed), but for a support site handling with scripts and files, php should be possible.
Checking for malicious code inside the php-files should be done at upload (client side, because staff should know what they are doing!) and refused if contain a security risk.
I am missing also a check for malicious code inside images - e.g. submit a file as doc, txt, etc. masked as .png or .jpg.
I know that such a file could be a security risk (.js also and this is allowed), but for a support site handling with scripts and files, php should be possible.
Checking for malicious code inside the php-files should be done at upload (client side, because staff should know what they are doing!) and refused if contain a security risk.
I am missing also a check for malicious code inside images - e.g. submit a file as doc, txt, etc. masked as .png or .jpg.