CVE-2022-4059 Cryptocurrency Widgets Pack < 2.0 - Unauthenticated SQLi

Critical 9.8 Published Updated

Unauthenticated attackers can perform SQL injection via AJAX actions in the Cryptocurrency Widgets Pack WordPress plugin, allowing unauthorized database access.

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

CVE-2022-4059 is a critical SQL injection vulnerability in Unknown Cryptocurrency Widgets Pack, 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 Cryptocurrency Widgets Pack WordPress plugin before 2.0 does not sanitise and escape some parameter before using it in a SQL statement via an AJAX action available to unauthenticated users, leading to a SQL injection.

Weakness: CWE-89

Which versions are affected by CVE-2022-4059?

It affects 1 product.

Products include Blocksera Cryptocurrency Widgets Pack.

How do I fix CVE-2022-4059?

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

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

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-g37r-pfrh-94h3.

Is CVE-2022-4059 in your software?

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

Check your SBOMs for free