CVE-2022-0827 Bestbooks <= 2.6.3 - Unauthenticated SQLi

Critical 9.8 Published Updated

Unauthenticated attackers can exploit SQL injection in the Bestbooks WordPress plugin via AJAX actions to read or modify database contents.

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

What is CVE-2022-0827?

CVE-2022-0827 is a critical SQL injection vulnerability in Unknown Bestbooks, published on 13 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Bestbooks WordPress plugin through 2.6.3 does not sanitise and escape some parameters before using them in a SQL statement via an AJAX action, leading to an SQL Injection exploitable by unauthenticated users

Weakness: CWE-89

Which versions are affected by CVE-2022-0827?

It affects 1 product.

Products include Presspage Bestbooks.

How do I fix CVE-2022-0827?

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

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

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-fw4m-gxhm-8fj4.

Is CVE-2022-0827 in your software?

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

Check your SBOMs for free