Vulnerability · Published Mar 17, 2023 · Assigned by GitHub_M
CVE-2023-28112Discourse's SSRF protection missing for some FastImage requests
Medium 5.9
In plain English
A medium-severity server-side request forgery in discourse from discourse. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
Weakness: CWE-918 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N
References
- https://github.com/discourse/discourse/security/advisories/GHSA-9897-x229-55gh x_refsource_CONFIRM
- https://github.com/discourse/discourse/pull/20710 x_refsource_MISC
- https://github.com/discourse/discourse/commit/39c2f63b35d90ebaf67b9604cf1d424e5984203c x_refsource_MISC