redaxscript 2.5.0: Code ExecutionDate: 2015-12-02 10:39:20
|Affected Product:||redaxscript 2.5.0|
|Fixed in:||module has been removed in version 2.6.0|
|Fixed Version Link:||n/a|
|Vulnerability Type:||Code Execution|
|Reported to vendor:||10/02/2015|
|Disclosed to public:||12/02/2015|
|Release mode:||Coordinated release|
|Credits||Tim Coen of curesec GmbH|
High 9.0 AV:N/AC:L/Au:S/C:C/I:C/A:C
The module file_manager allows for file uploads, and uses exif_imagetype to check the validity of the file.
By setting the first bytes of the uploaded file to that of a valid image type, an attacker can easily bypass this check and thus upload files of dangerous type.
It should be noted that only files with the name index.php will be executed, as access to all other PHP files is forbidden by a htaccess file.
An account that has access to the module "File manager" is needed to exploit this issue.
To mitigate this issue please remove the file_manager module.
5. Report Timeline
|10/02/2015||Informed Vendor about Issue|
|11/15/2015||Vendor removes affected module|
|12/02/2015||Disclosed to public|