vendor:
Image Gallery
by:
Gwendal Le Coguic
7,5
CVSS
HIGH
Full Path Disclosure and SQL Injection
89, 89, 89, 89, 89
CWE
Product Name: Image Gallery
Affected Version From: 1.8.9
Affected Version To: Prior
Patch Exists: NO
Related CWE: N/A
CPE: a:wordpress:wordpress:1.8.9
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2016
WordPress plugin Image Gallery Full Path Disclosure and SQL Injection
Huge-IT Image Gallery is the best plugin to use if you want to be original with your website. Full Path Disclosure can be exploited by sending a request to http://[target]/wp-content/plugins/gallery-images/gallery-images.php. SQL Injection can be exploited by sending a payload of '123.123.123.123' AND (SELECT * FROM (SELECT(SLEEP(5)))suRI) AND 'uDsL'='uDsL' in the headers X-Forwarded-For and Client-Ip. The 'galleryid' must be configured or try another id and the 'task' parameter can be: load_images_content, load_images_lightbox, load_image_justified, load_image_thumbnail, load_blog_view. Client-Ip overwrites X-Forwarded-For and some systems drop those headers.
Mitigation:
Sanitize the variable $huge_it_ip.