CVE-2023-6620 Post SMTP < 2.8.7 - Admin+ SQL Injection

High 7.2 Published Updated

Admin users can exploit SQL injection in the POST SMTP Mailer plugin to read or modify database contents.

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-2023-6620?

CVE-2023-6620 is a high-severity SQL injection vulnerability in Unknown POST SMTP Mailer, published on 15 Jan 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

The POST SMTP Mailer WordPress plugin before 2.8.7 does not properly sanitise and escape several parameters before using them in SQL statements, leading to a SQL injection exploitable by high privilege users such as admin.

Weakness: CWE-89

Which versions are affected by CVE-2023-6620?

It affects 1 product.

Products include Wpexperts Post Smtp.

How do I fix CVE-2023-6620?

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

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

Sources

Also known as CVE-2024-0694, GHSA-4xvm-vc4w-9h2j.

Is CVE-2023-6620 in your software?

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

Check your SBOMs for free