An issue was discovered in the Huge-IT gallery-images plugin before 1.9.0 for WordPress. The headers Client-Ip and X-Forwarded-For are prone to unauthenticated SQL injection. The affected file is gallery-images.php. The affected function is huge_it_image_gallery_ajax_callback().
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Link | Tags |
---|---|
https://plugins.trac.wordpress.org/browser/gallery-images/tags/1.8.9 | third party advisory release notes |
https://plugins.trac.wordpress.org/browser/gallery-images/tags/1.9.0 | third party advisory release notes |
http://10degres.net/cve-2016-11018-image-gallery-sql-injection/ | third party advisory exploit |