CVE-2024-23654 discourse-ai admin-initiated SSRF when interacting with AI services

Medium 4.1 Published Updated

Admins can trigger Server-Side Request Forgery in the Discourse AI plugin, allowing access to internal services or sensitive data.

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-2024-23654?

CVE-2024-23654 is a medium-severity server-side request forgery vulnerability in discourse-ai, published on 21 Feb 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

discourse-ai is the AI plugin for the open-source discussion platform Discourse. Prior to commit 94ba0dadc2cf38e8f81c3936974c167219878edd, interactions with different AI services are vulnerable to admin-initiated SSRF attacks. Versions of the plugin that include commit 94ba0dadc2cf38e8f81c3936974c167219878edd contain a patch. As a workaround, one may disable the discourse-ai plugin.

Weakness: CWE-918

Which versions are affected by CVE-2024-23654?

It affects 1 product.

Products include Discourse Ai.

How do I fix CVE-2024-23654?

No fix has been published for CVE-2024-23654 yet. Limit exposure of the affected software until one is available.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2024-23654 being exploited?

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

Sources

Also known as GHSA-32cj-rm2q-22cc.

Is CVE-2024-23654 in your software?

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

Check your SBOMs for free