CVE-2024-0610 Piraeus Bank WooCommerce Payment Gateway <= 1.6.5.1 - Unauthenticated SQL Injection

Critical 9.8 Published Updated

Unauthenticated attackers can extract sensitive database information via SQL injection in the Piraeus Bank WooCommerce Payment Gateway 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-2024-0610?

CVE-2024-0610 is a critical SQL injection vulnerability in enartia Piraeus Bank WooCommerce Payment Gateway, published on 17 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Piraeus Bank WooCommerce Payment Gateway plugin for WordPress is vulnerable to time-based blind SQL Injection via the 'MerchantReference' parameter in all versions up to, and including, 1.6.5.1 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Weakness: CWE-89

Which versions are affected by CVE-2024-0610?

It affects 1 product.

Products include Papaki Piraeus Bank Woocommerce Payment Gateway.

How do I fix CVE-2024-0610?

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

There is no known exploitation of CVE-2024-0610 in the wild and no public exploit code.

Sources

Also known as GHSA-v8mc-4rh6-jf98.

Is CVE-2024-0610 in your software?

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

Check your SBOMs for free