CVE-2022-4372 Web Invoice <= 2.1.3 - Authenticated SQLi

High 7.2 Published Updated

Authenticated SQL injection in Web Invoice plugin allows attackers to manipulate database queries, potentially exposing or modifying data.

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

What is CVE-2022-4372?

CVE-2022-4372 is a high-severity SQL injection vulnerability in Unknown Web Invoice, published on 2 Jan 2023. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

The Web Invoice WordPress plugin through 2.1.3 does not properly sanitize and escape a parameter before using it in a SQL statement, leading to a SQL Injection exploitable by high privilege users such as admin by default. However, depending on the plugin configuration, other users, such as subscriber could exploit this as well

Which versions are affected by CVE-2022-4372?

It affects 1 product.

Products include Web Invoice Project Web Invoice.

How do I fix CVE-2022-4372?

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

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

Sources

Also known as GHSA-q66j-q3q8-gqh8.

Is CVE-2022-4372 in your software?

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

Check your SBOMs for free