CVE-2022-4049 WP User <= 7.0 - Unauthenticated SQLi

Critical 9.8 Published Updated

Unauthenticated attackers can exploit SQL injection in the WP User 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-4049?

CVE-2022-4049 is a critical SQL injection vulnerability in Unknown WP User, published on 2 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The WP User WordPress plugin through 7.0 does not properly sanitize and escape a parameter before using it in a SQL statement, leading to a SQL injection exploitable by unauthenticated users.

Which versions are affected by CVE-2022-4049?

It affects 1 product.

Products include Wp User Project Wp User.

How do I fix CVE-2022-4049?

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

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

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-vq28-qp88-5gwg.

Is CVE-2022-4049 in your software?

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

Check your SBOMs for free