QID 730264

Date Published: 2021-11-18

QID 730264: Discourse Remote Code Execution (RCE) via malicious Simple Notification Service (SNS) subscription payload

Discourse is an open source platform for community discussion. In affected versions maliciously crafted requests could lead to remote code execution.

This resulted from a lack of validation in subscribe_url values. This issue is patched in the latest stable, beta and tests-passed versions of Discourse.

Affected versions:

stable <= 2.7.8; beta <= 2.8.0.beta6; tests-passed <= 2.8.0.beta6

QID Detection Logic: (Remote)
It checks Discourse package versions to check for the vulnerable packages.
This QID checks for the following: It request to the main page in the host (index) and looks for the version information.

Successful exploitation allows an unauthenticated, remote attacker to execute arbitrary code on the targeted system.

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as High - 7.5 severity.
  • Solution
    The vendor has released updates to resolve these issues.

    Customers are advised to visit RCE via malicious SNS subscription payload webpage for release notes.
    Workaround:
    To workaround the issue without updating, requests with a path starting /webhooks/aws path could be blocked at an upstream proxy.

    Vendor References

    CVEs related to QID 730264

    Software Advisories
    Advisory ID Software Component Link
    Discourse URL Logo github.com/discourse/discourse/security/advisories/GHSA-jcjx-pvpc-qgwq

    © CVE.report 2026

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report