CVE-2021-24758 Email Log < 2.4.7 - Admin+ SQL Injection

High 8.8 Published Updated

An authenticated admin can exploit SQL injection in the Email Log plugin to read or modify database contents via unsanitized GET parameters.

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

What is CVE-2021-24758?

CVE-2021-24758 is a high-severity SQL injection vulnerability in Unknown Email Log, published on 17 Nov 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Email Log WordPress plugin before 2.4.7 does not properly validate, sanitise and escape the "orderby" and "order" GET parameters before using them in SQL statement in the admin dashboard, leading to SQL injections

Weakness: CWE-89

Which versions are affected by CVE-2021-24758?

It affects 1 product.

Products include Email Log Project Email Log.

How do I fix CVE-2021-24758?

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

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

Sources

Also known as GHSA-3545-2cxj-jfvg.

Is CVE-2021-24758 in your software?

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

Check your SBOMs for free