SB2023012721 - Multiple vulnerabilities in Discourse
Published: January 27, 2023
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 6 vulnerabilities.
1) Resource exhaustion (CVE-ID: CVE-2023-23616)
CWE-ID: CWE-400 - Resource exhaustion
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a remote user to perform a denial of service (DoS) attack.
The vulnerability exists due to application does not impose limits on the number of characters in the group membership request. A remote user can flood the database with a large amount of data and cause a denial of service (DoS) condition.
2) Information disclosure (CVE-ID: CVE-2023-23624)
CWE-ID: CWE-200 - Exposure of sensitive information to an unauthorized actor
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to an error in application. Using the exclude_tag param a use can filter out topics and deduce, which ones are using a specific hidden tag. This affects any Discourse site using hidden tags in public categories.
3) Improper access control (CVE-ID: CVE-2023-23620)
CWE-ID: CWE-284 - Improper Access Control
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a remote attacker to gain unauthorized access to otherwise restricted functionality.
The vulnerability exists due to improper access restrictions. A remote attacker can bypass implemented security restrictions and access latest or top routes for restricted tags.
4) Resource exhaustion (CVE-ID: CVE-2023-22739)
CWE-ID: CWE-400 - Resource exhaustion
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a remote user to perform a denial of service (DoS) attack.
The vulnerability exists due to application does not impose limits on data contained in a draft. A remote user can trigger resource exhaustion and creating a large topic drafts.
5) Resource exhaustion (CVE-ID: CVE-2023-22740)
CWE-ID: CWE-400 - Resource exhaustion
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a remote user to perform a denial of service (DoS) attack.
The vulnerability exists due to application does not limit the length and number of drafts created by its users. A remote user can cause a denial of service by generating an excessive load on the server via an unlimited number of drafts.
6) Stored cross-site scripting (CVE-ID: CVE-2023-22468)
CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Clear
The disclosed vulnerability allows a remote user to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data when parsing URLs. A remote user can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
Remediation
Install update from vendor's website.
References
- https://github.com/discourse/discourse/security/advisories/GHSA-6xff-p329-9pgf
- https://github.com/discourse/discourse/security/advisories/GHSA-qgj5-g5vf-fm7q
- https://github.com/discourse/discourse/security/advisories/GHSA-hvj9-g84x-5prx
- https://github.com/discourse/discourse/security/advisories/GHSA-rqgr-g6v7-jcfc
- https://github.com/discourse/discourse/security/advisories/GHSA-pwj4-rf62-p224
- https://github.com/discourse/discourse/commit/5eaf0802398ff06604f03b27a28dd274f2ffa576
- https://github.com/discourse/discourse/security/advisories/GHSA-8mr2-xf8r-wr8m