CVE-2022-39241 Possible Server-Side Request Forgery (SSRF) in webhooks

High 7.6 Published Updated

A malicious admin can perform Server-Side Request Forgery to enumerate ports and access internal or external hosts via webhooks.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-39241?

CVE-2022-39241 is a high-severity server-side request forgery vulnerability in Discourse Discourse, published on 2 Nov 2022. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Discourse is a platform for community discussion. A malicious admin could use this vulnerability to perform port enumeration on the local host or other hosts on the internal network, as well as against hosts on the Internet. Latest `stable`, `beta`, and `test-passed` versions are now patched. As a workaround, self-hosters can use `DISCOURSE_BLOCKED_IP_BLOCKS` env var (which overrides `blocked_ip_blocks` setting) to stop webhooks from accessing private IPs.

Weakness: CWE-918

Which versions are affected by CVE-2022-39241?

1 open source package ship an affected version, including discourse. It affects 1 product.

PackageAffectedFixed in
discourse BitnamiAll versions2.8.10

Products include Discourse Discourse.

How do I fix CVE-2022-39241?

Upgrade discourse to 2.8.10 or later.

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

Is CVE-2022-39241 being exploited?

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

All Discourse Discourse vulnerabilities

Sources

Also known as BIT-discourse-2022-39241, GHSA-rcc5-28r3-23rr.

Is CVE-2022-39241 in your software?

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

Check your SBOMs for free