An Extbase-based TYPO3 Extension which is called typo3_forum. This fork is working in TYPO3 Version 8 and under development. Testing, Issue-reports and Pull-requests are welcome!
If the upload directory for attachments does not exist (yet), the AttachmentService creates a new directory automatically. It uses mode 0777, which is the widest possible access and therefore a possible security issue, depending on the server setup.
Class Mittwald\Typo3Forum\Service\AttachmentService:
[...]
//Create dir if not exists
$tca = $attachmentObj->getTCAConfig();
$path = $tca['columns']['real_filename']['config']['uploadfolder'];
if (!file_exists($path)) {
mkdir($path, 0777, true);
}
[...]
If the upload directory for attachments does not exist (yet), the AttachmentService creates a new directory automatically. It uses mode
0777
, which is the widest possible access and therefore a possible security issue, depending on the server setup.Class
Mittwald\Typo3Forum\Service\AttachmentService
: