`<!--
# Exploit Title: Wordpress Gallery Master Presistent XSS Vulnerability.
# Date: 2015/12/20
# Exploit Author: Arash Khazaei
# Vendor Homepage: https://downloads.wordpress.org/plugin/gallery-master.zip
# Software Link: https://wordpress.org/plugins/gallery-master/ &
http://tech-prodigy.org/
# Version: 1.0.22
# Tested on: Windows , Firefox Browser
# CVE : N/A
# Email : [email protected]
# Intrduction :
# Wordpress Master Gallery Plugin Have 1,000+ Active Install
# And Suffer From A Stored XSS Vulnerability In Gallery Title &
Gallery Description In Add New Gallery Section.
# Authors , Editors And Of Course Administrators Can Use This
Vulnerability To Harm WebSite .
-->
Exploit :
For Exploiting This Vulnerability Install Testimonial Slider Plugin
Then Create New SGallery In Gallery Title Input And Gallery
Description Place Your JavaScript Code
After Creating Gallery JavaScript Code Will Be Executed . Plugin Is
Accessable By Authors , Administartors , Editors .
Image POC :
http://i.imgur.com/bHoezPa.jpg
Vulnerable Codes
<\gallery-master\views\galleries\manage_galleries.php>[Line : 177]:
1- <label class="gallery_text_italic"><?php echo
urldecode($row["gallery_title"]);?></label>
2- <label class="gallery_text_italic"><?php echo
urldecode($row["gallery_description"]);?></label>
<!-- Discovered By Arash Khazaei (A.K.A 0xClay) -->
`
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation