CVE-2022-0267 AdRotate < 5.8.22 - Admin+ SQL Injection

High 7.2 Published Updated

An authenticated admin can exploit SQL injection in the AdRotate 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-2022-0267?

CVE-2022-0267 is a high-severity SQL injection vulnerability in Unknown AdRotate – Ad manager & AdSense Ads, published on 7 Mar 2022. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

The AdRotate WordPress plugin before 5.8.22 does not sanitise and escape the adrotate_action before using it in a SQL statement via the adrotate_request_action function available to admins, leading to a SQL injection

Weakness: CWE-89

Which versions are affected by CVE-2022-0267?

It affects 1 product.

Products include Adrotate Project Adrotate.

How do I fix CVE-2022-0267?

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

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

Sources

Also known as GHSA-995g-hx4g-8h72.

Is CVE-2022-0267 in your software?

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

Check your SBOMs for free