CVE-2023-46821 WordPress GD Security Headers Plugin <= 1.7 is vulnerable to SQL Injection

High 7.6 Published Updated

Authenticated administrators can exploit SQL injection in the GD Security Headers 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-2023-46821?

CVE-2023-46821 is a high-severity SQL injection vulnerability in Milan Petrovic GD Security Headers, published on 6 Nov 2023. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Milan Petrovic GD Security Headers allows auth. (admin+) SQL Injection.This issue affects GD Security Headers: from n/a through 1.7.

Weakness: CWE-89

Which versions are affected by CVE-2023-46821?

It affects 1 product.

Products include Dev4press Gd Security Headers.

How do I fix CVE-2023-46821?

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

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

Sources

Also known as GHSA-x9wm-pw72-c8fj.

Is CVE-2023-46821 in your software?

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

Check your SBOMs for free