Vulnerability identifier: #VU78268
Vulnerability risk: Low
CVSSv3.1: 3.7 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-942
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
sentry
Other software /
Other software solutions
Vendor: Sentry
Description
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.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
sentry: 23.6.0 - 23.6.1
External links
http://github.com/getsentry/sentry/commit/ee44c6be35e5e464bc40637580f39867898acd8b
http://github.com/getsentry/sentry/security/advisories/GHSA-4xqm-4p72-87h6
http://github.com/getsentry/sentry/pull/52276
http://github.com/getsentry/self-hosted/releases/tag/23.6.2
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.