CVE-2022-0412 TI WooCommerce Wishlist < 1.40.1 - Unauthenticated Blind SQL Injection

Critical 9.8 Published Updated

Unauthenticated attackers can perform blind SQL injection via the wishlist/remove_product REST endpoint in the TI WooCommerce Wishlist plugin.

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

CVE-2022-0412 is a critical SQL injection vulnerability in TemplateInvaders TI WooCommerce Wishlist, published on 28 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The TI WooCommerce Wishlist WordPress plugin before 1.40.1, TI WooCommerce Wishlist Pro WordPress plugin before 1.40.1 do not sanitise and escape the item_id parameter before using it in a SQL statement via the wishlist/remove_product REST endpoint, allowing unauthenticated attackers to perform SQL injection attacks

Weakness: CWE-89

Which versions are affected by CVE-2022-0412?

It affects 1 product.

Products include Templateinvaders Ti Woocommerce Wishlist.

How do I fix CVE-2022-0412?

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

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

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-h2g7-6p9r-jg23.

Is CVE-2022-0412 in your software?

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

Check your SBOMs for free