CVE-2021-24791 Header Footer Code Manager < 1.1.14 - Admin+ SQL Injections

High 7.2 Published Updated

An authenticated admin can execute SQL injections via unvalidated parameters in the Header Footer Code Manager plugin, allowing data access or modification.

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-2021-24791?

CVE-2021-24791 is a high-severity SQL injection vulnerability in Unknown Header Footer Code Manager, published on 8 Nov 2021. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

The Header Footer Code Manager WordPress plugin before 1.1.14 does not validate and escape the "orderby" and "order" request parameters before using them in a SQL statement when viewing the Snippets admin dashboard, leading to SQL injections

Weakness: CWE-89

Which versions are affected by CVE-2021-24791?

It affects 1 product.

Products include Draftpress Header Footer Code Manager.

How do I fix CVE-2021-24791?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-24791 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-2j37-h336-4w29.

Is CVE-2021-24791 in your software?

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

Check your SBOMs for free