CVE-2021-24858 WP Cookie User Info < 1.0.9 - Admin+ SQL Injection

High 7.2 Published Updated

Authenticated attackers can inject SQL via the id parameter in the admin dashboard, allowing unauthorized database access and 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-24858?

CVE-2021-24858 is a high-severity SQL injection vulnerability in Unknown Cookie Notification Plugin for WordPress – WP Cookie User Info, published on 24 Jan 2022. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

The Cookie Notification Plugin for WordPress plugin before 1.0.9 does not sanitise or escape the id GET parameter before using it in a SQL statement, when retrieving the setting to edit in the admin dashboard, leading to an authenticated SQL Injection

Weakness: CWE-89

Which versions are affected by CVE-2021-24858?

It affects 1 product.

Products include Accesspressthemes Wp Cookie User Info.

How do I fix CVE-2021-24858?

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

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

Sources

Also known as GHSA-7pwr-5hfg-qhv4.

Is CVE-2021-24858 in your software?

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

Check your SBOMs for free