SB2017030201 - SQL Injection in NextGEN Gallery for WordPress



SB2017030201 - SQL Injection in NextGEN Gallery for WordPress

Published: March 2, 2017

Security Bulletin ID SB2017030201
Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Data manipulation

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 security vulnerability.


1) SQL injection (CVE-ID: N/A)

The vulnerability allows a remote attacker to execute arbitrary SQL queries in web application database.

The vulnerability exists due to insufficient sanitization of user-supplied data passed via URL within

nextgen-gallery/products/photocrati_nextgen/modules/nextgen_gallery_display/package.module.nextgen_gallery_display.php
script. A remote unauthenticated attacker can send a specially crafted HTTP GET request to vulnerable application and execute arbitrary SQL commands in backend database.

Successful exploitation of the vulnerability may lead to website compromise.

Exploitation example:

 http://[host]/2017/01/17/new-one/nggallery/tags/test%251%24%25s))%20or%201=1%23

Remediation

Install update from vendor's website.