7.6
CWE
918
Advisory Published
Updated

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

First published: Wed Nov 02 2022(Updated: )

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.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Discourse<2.8.10
Discourse=2.9.0-beta1
Discourse=2.9.0-beta10
Discourse=2.9.0-beta2
Discourse=2.9.0-beta3
Discourse=2.9.0-beta4
Discourse=2.9.0-beta5
Discourse=2.9.0-beta6
Discourse=2.9.0-beta7
Discourse=2.9.0-beta8
Discourse=2.9.0-beta9

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2022-39241?

    CVE-2022-39241 has a high severity rating due to its potential exploitation by a malicious admin.

  • How do I fix CVE-2022-39241?

    To fix CVE-2022-39241, update Discourse to version 2.8.10 or later.

  • What versions of Discourse are affected by CVE-2022-39241?

    CVE-2022-39241 affects Discourse versions up to 2.8.10 and various beta versions of 2.9.0.

  • Who can exploit CVE-2022-39241?

    This vulnerability can be exploited by a malicious admin on the Discourse platform.

  • What type of vulnerability is CVE-2022-39241?

    CVE-2022-39241 is a vulnerability that allows for port enumeration on local and remote hosts.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203