CVE-2017-12977 SQL injection in n/a

High 7.2 Published Updated

Administrators can exploit SQL injection in the Photo Gallery by WD plugin to read or modify database contents.

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

What is CVE-2017-12977?

CVE-2017-12977 is a high-severity SQL injection vulnerability in n/a, published on 21 Aug 2017. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

The Web-Dorado "Photo Gallery by WD - Responsive Photo Gallery" plugin before 1.3.51 for WordPress has a SQL injection vulnerability related to bwg_edit_tag() in photo-gallery.php and edit_tag() in admin/controllers/BWGControllerTags_bwg.php. It is exploitable by administrators via the tag_id parameter.

Weakness: CWE-89

Which versions are affected by CVE-2017-12977?

It affects 1 product.

Products include 10web Photo Gallery.

How do I fix CVE-2017-12977?

No fix has been published for CVE-2017-12977 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-12977 being exploited?

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

Sources

Also known as GHSA-6j2g-pvxc-h538.

Is CVE-2017-12977 in your software?

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

Check your SBOMs for free