CVE-2022-0434 Page Views Count < 2.4.15 - Unauthenticated SQL Injection

Critical 9.8 Published Updated

Unauthenticated attackers can perform SQL injection via the post_ids parameter in the Page View Count WordPress plugin, potentially accessing or modifying database content.

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-0434?

CVE-2022-0434 is a critical SQL injection vulnerability in Unknown Page View Count, published on 7 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Page View Count WordPress plugin before 2.4.15 does not sanitise and escape the post_ids parameter before using it in a SQL statement via a REST endpoint, available to both unauthenticated and authenticated users. As a result, unauthenticated attackers could perform SQL injection attacks

Weakness: CWE-89

Which versions are affected by CVE-2022-0434?

It affects 1 product.

Products include A3rev Page View Count.

How do I fix CVE-2022-0434?

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

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

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-qhcq-6xcp-843h.

Is CVE-2022-0434 in your software?

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

Check your SBOMs for free