exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

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
SHA-256 | 5d171003401ad95ff8df371a26fa7940af328c25f31ab738835bd1f4b2451181

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.
Login or Register to add favorites

File Archive:

June 2024

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