CVE-2024-6847 SmartSearch WP <= 2.4.4 - Unauthenticated SQLi

Critical 9.8 Published Updated

Unauthenticated attackers can perform SQL injection via the chatbot message submission feature in the Chatbot with ChatGPT WordPress 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-6847?

CVE-2024-6847 is a critical SQL injection vulnerability in Unknown Chatbot with ChatGPT WordPress, published on 20 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Chatbot with ChatGPT WordPress plugin before 2.4.5 does not properly sanitise and escape a parameter before using it in a SQL statement, leading to a SQL injection exploitable by unauthenticated users when submitting messages to the chatbot.

Weakness: CWE-89

Which versions are affected by CVE-2024-6847?

It affects 1 product.

Products include Webdigit Chatbot With Chatgpt.

How do I fix CVE-2024-6847?

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

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

Sources

Also known as GHSA-725x-5972-gm8m.

Is CVE-2024-6847 in your software?

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

Check your SBOMs for free