SSRF in Discourse

CVE-2023-28112

Discourse is an open-source discussion platform. Prior to version 3.1.0.beta3 of the `beta` and `tests-passed` branches, some user provided URLs were being passed to FastImage without SSRF protection. Insufficient protections could enable attackers to trigger outbound network connections from the Discourse server to private IP addresses. This affects any site running the `tests-passed` or `beta` branches versions 3.1.0.beta2 and prior. This issue is patched in version 3.1.0.beta3 of the `beta` and `tests-passed` branches. There are no known workarounds.

Vulnerability class: SSRF (Server-Side Request Forgery)

EPSS: 0.006 (44.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N.

Affected products

  • Discourse — versions tests-passed < 3.1.0.beta3, beta < 3.1.0.beta3, 3.1.0

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2023-28112?
CVE-2023-28112 is a medium-severity vulnerability in Discourse, classified under Server-Side Request Forgery (SSRF). CVSS score: 5.9/10. Published 2023-03-17.
How severe is CVE-2023-28112?
Medium severity. CVSS v3 base score is 5.9 out of 10.