CORS misconfiguration in Sentry API



Published: 2023-07-15
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2023-36829
CWE-ID CWE-942
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
sentry
Other software / Other software solutions

Vendor Sentry

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Overly permissive cross-domain whitelist

EUVDB-ID: #VU78268

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: CVE-2023-36829

CWE-ID: CWE-942 - Overly Permissive Cross-domain Whitelist

Exploit availability: No

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


Q & A

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.



###SIDEBAR###