SB2023071509 - CORS misconfiguration in Sentry API
Published: July 15, 2023
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Overly permissive cross-domain whitelist (CVE-ID: CVE-2023-36829)
CWE-ID: CWE-942 - Overly Permissive Cross-domain Whitelist
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a remote attacker to bypass the CORS protection mechanism.
The vulnerability exists due to incorrect processing of the "Origin" HTTP header that is supplied within HTTP request in Sentry API. A remote attacker can supply arbitrary value via the "Origin" HTTP header, bypass implemented CORS protection mechanism and perform cross-site scripting attacks against the vulnerable application.
Note, the vulnerability affects installations only that have `system.base-hostname` option explicitly set, as it is empty by default.
Remediation
Install update from vendor's website.