Cross-origin API access via suffix-only origin comparison
Published Jul 6, 2023 · Updated Nov 6, 2024
CORS misconfiguration in Sentry 23.6.0 through 23.6.1 allows remote attackers to read or write API data through a victim's browser. The API CORS wrapper uses a bare string-suffix comparison between the Origin header and system.base-hostname, so an attacker-controlled hostname ending in the configured value receives credential permission. Exploitation requires an explicit, nondefault base-hostname setting and user interaction in a browser that sends cross-site cookies.
Summary
What happened
CORS misconfiguration in Sentry 23.6.0 through 23.6.1 allows remote attackers to read or write API data through a victim's browser. The API CORS wrapper uses a bare string-suffix comparison between the Origin header and system.base-hostname, so an attacker-controlled hostname ending in the configured value receives credential permission. Exploitation requires an explicit, nondefault base-hostname setting and user interaction in a browser that sends cross-site cookies.
The record
- CVE
- CVE-2023-36829
- Published
- Jul 6, 2023
- Updated
- Nov 6, 2024
- Vendor
- Sentry
- Product
- Sentry
- Classifications
- CWE-863, CWE-697, CWE-942, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 6, 2023CVE publishedPublication date reported by the CVE source.
- Nov 6, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 23.6.0, < 23.6.2
- Affected versionversion=23.6.0 <23.6.2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo