CVE-2017-1002012 SQL injection in image-gallery-with-slideshow

Critical 9.8 Published Updated

An attacker can execute arbitrary SQL commands via the gid parameter in the admin settings of the Image Gallery with Slideshow plugin.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2017-1002012?

CVE-2017-1002012 is a critical SQL injection vulnerability in Anblik image-gallery-with-slideshow, published on 14 Sep 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Vulnerability in wordpress plugin image-gallery-with-slideshow v1.5.2, In image-gallery-with-slideshow/admin_setting.php the following snippet of code does not sanitize input via the gid variable before passing it into an SQL statement.

Weakness: CWE-89

Which versions are affected by CVE-2017-1002012?

It affects 1 product.

Products include Anblik Image-Gallery-With-Slideshow.

How do I fix CVE-2017-1002012?

No fix has been published for CVE-2017-1002012 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2017-1002012 being exploited?

There is no known exploitation of CVE-2017-1002012 in the wild and no public exploit code.

Sources

Also known as GHSA-8wgg-xcqq-fcc6.

Is CVE-2017-1002012 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free