seeing is believing

WordPress GamePlan Event And Gym Fitness Theme 1.5.13.2 Cross Site Scripting

WordPress GamePlan Event And Gym Fitness Theme 1.5.13.2 Cross Site Scripting
Posted Aug 5, 2017
Authored by Kushal Jaisingh

WordPress GamePlan Event and Gym Fitness theme versions 1.0 through 1.5.13.2 suffer from a cross site scripting vulnerability.

tags | exploit, xss
MD5 | 97cfd226457ec58c7e9cb177b313cc17

WordPress GamePlan Event And Gym Fitness Theme 1.5.13.2 Cross Site Scripting

Change Mirror Download
# Exploit Title: GamePlan Event and Gym Fitness WordPress Theme - Reflected XSS (v1.0 - v1.5.13.2)
# Date: August 4, 2017
# Software Link: https://www.cactusthemes.com/wp/gameplan/#secondary
# Exploit Author: Kushal Jaisingh
# Contact: https://ca.linkedin.com/in/kushaljaisingh
# Category: WebApps, XSS

1. Description

Reflected XSS is possible in all versions of the GamePlan WordPress theme because of insufficient input sanitization. Upon reviewing the webpage source (linked below) it appears the author made an effort to encode <> user input characters as &lt and &gt respectively to protect against possible XSS. However, this was not implemented fully throughout the webpage as half way through the source it can be seen that <> characters from user input begin to be reflected without being encoded thus enabling the possibility of XSS.

In the URL below our non URL encoded XSS payload was: <img src=x onerror=prompt(/OPENBUGBOUNTY/)>
Therefore, searching the page source for "src=x" returns 4 matches. The first 2 matches show the <> characters from our payload to be properly sanitized encoded as &lt and &lt respectively. However the latter 2 results show our complete XSS payload including the <> characters to be reflected back unencoded.

view-source:http://gameplan.cactusthemes.com/?s=%3Cimg+src%3Dx+onerror%3Dprompt%28%2FOPENBUGBOUNTY%2F%29%3E

2. Proof of Concept

The following URL will popup a javascript window. The URL was generated by typing <img src=x onerror=prompt(/OPENBUGBOUNTY/)> into the search box on the website.

http://gameplan.cactusthemes.com/?s=%3Cimg+src%3Dx+onerror%3Dprompt%28%2FOPENBUGBOUNTY%2F%29%3E

3. Solution:

Update to latest version by author once patched.

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

August 2017

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