CVE-2023-28111 Discourse vulnerable to SSRF protection bypass possible with IPv4-mapped IPv6 addresses

Medium 5.7 Published Updated

Attackers can bypass SSRF protections to access private IPv4 resources via IPv4-mapped IPv6 addresses in Discourse.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-28111?

CVE-2023-28111 is a medium-severity server-side request forgery vulnerability in Discourse Discourse, published on 17 Mar 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Discourse is an open-source discussion platform. Prior to version 3.1.0.beta3 of the `beta` and `tests-passed` branches, attackers are able to bypass Discourse's server-side request forgery (SSRF) protection for private IPv4 addresses by using a IPv4-mapped IPv6 address. The issue is patched in the latest beta and tests-passed version of Discourse. version 3.1.0.beta3 of the `beta` and `tests-passed` branches. There are no known workarounds.

Weakness: CWE-918

Which versions are affected by CVE-2023-28111?

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

PackageAffectedFixed in
discourse BitnamiAll versions3.1.0

Products include Discourse Discourse.

How do I fix CVE-2023-28111?

Upgrade discourse to 3.1.0 or later.

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

Is CVE-2023-28111 being exploited?

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

All Discourse Discourse vulnerabilities

Sources

Also known as BIT-discourse-2023-28111, GHSA-26h3-8ww8-v5fc.

Is CVE-2023-28111 in your software?

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

Check your SBOMs for free