WordPress Plugin Vulnerabilities
WP Support Plus Responsive Ticket System < 8.0.8 - Remote Code Execution (RCE)
Description
WP Support Plus Responsive Ticket System <= 8.0.7 allows anyone to upload PHP files with extensions like ".phtml", ".php4", ".php5", and so on, all of which are run as if their extension was ".php" on most hosting platforms.
This is because "includes/admin/attachment/uploadAttachment.php" contains this code:
switch ($extension){
case 'exe':
case 'php':
case 'js':
$isError=true;
$errorMessege=__('Error: file format not supported!','wp-support-plus-responsive-ticket-system');
But it does not check for other extensions like ".phtml". In addition, it saves the file with a predictable name based on the timestamp, and anyone can load the file and run the code it contains.
Plugin author notified 2017-11-09.