CVE-2022-0948 Order Listener for WooCommerce < 3.2.2 - Unauthenticated SQLi

Critical 9.8 Published Updated

Unauthenticated attackers can execute arbitrary SQL commands via the id parameter in the Order Listener for WooCommerce 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-0948?

CVE-2022-0948 is a critical SQL injection vulnerability in Unknown Order Listener for WooCommerce – Play Sounds Instantly on New Orders, published on 9 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Order Listener for WooCommerce WordPress plugin before 3.2.2 does not sanitise and escape the id parameter before using it in a SQL statement via a REST route available to unauthenticated users, leading to an SQL injection

Weakness: CWE-89

Which versions are affected by CVE-2022-0948?

It affects 1 product.

Products include Pluginbazaar Order Listener for Woocommerce.

How do I fix CVE-2022-0948?

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

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

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-h4pp-rf9h-q3cg.

Is CVE-2022-0948 in your software?

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

Check your SBOMs for free