CVE-2022-4681 Hide My WP < 6.2.9 - Unauthenticated SQLi

Critical 9.8 Published Updated

Unauthenticated attackers can exploit SQL injection in the Hide My WP plugin 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-4681?

CVE-2022-4681 is a critical SQL injection vulnerability in Unknown Hide My WP, published on 6 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Hide My WP WordPress plugin before 6.2.9 does not properly sanitize and escape a parameter before using it in a SQL statement via an AJAX action available to unauthenticated users, leading to a SQL injection.

Which versions are affected by CVE-2022-4681?

It affects 1 product.

Products include Wpwave Hide My Wp.

How do I fix CVE-2022-4681?

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

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-6vgw-7v97-h3ch.

Is CVE-2022-4681 in your software?

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

Check your SBOMs for free