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

High 7.2 Published Updated

Authenticated SQL injection in Web Invoice plugin allows attackers to read or modify database contents, primarily affecting administrators but potentially lower-privileged users.

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

CVE-2022-4371 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-4371?

It affects 1 product.

Products include Mohanjith Web Invoice.

How do I fix CVE-2022-4371?

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

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

Sources

Also known as GHSA-mf5v-ghxf-2553.

Is CVE-2022-4371 in your software?

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

Check your SBOMs for free