CVE-2021-24957 Advanced Page Visit Counter < 6.1.6 - Subscriber+ Blind SQL injection

High 8.8 Published Updated

Authenticated users can exploit a blind SQL injection vulnerability in the Advanced Page Visit Counter plugin to read or modify database contents.

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

CVE-2021-24957 is a high-severity SQL injection vulnerability in Unknown Advanced Page Visit Counter – Advanced WordPress Visit Counter, published on 25 Apr 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Advanced Page Visit Counter WordPress plugin before 6.1.6 does not escape the artID parameter before using it in a SQL statement in the apvc_reset_count_art AJAX action, available to any authenticated user, leading to a SQL injection

Weakness: CWE-89

Which versions are affected by CVE-2021-24957?

It affects 1 product.

Products include Advanced Page Visit Counter Project Advanced Page Visit Counter.

How do I fix CVE-2021-24957?

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

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

Sources

Also known as GHSA-qgmf-6jwp-mj2x.

Is CVE-2021-24957 in your software?

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

Check your SBOMs for free