SecurityContext

CVE-2023-39349: Sentry - Authorization Bypass

  • Cve: CVE-2023-39349
  • Name: Sentry - Authorization Bypass
  • Description: Sentry is an error tracking and performance monitoring platform. Starting in version 22.1.0 and prior to version 23.7.2, an attacker with access to a token with few or no scopes can query `/api/0/api-tokens/` for a list of all tokens created by a user, including tokens with greater scopes, and use those tokens in other requests. There is no evidence that the issue was exploited on `sentry.io`. For self-hosted users, it is advised to rotate user auth tokens. A fix is available in version 23.7.2 of `sentry` and `self-hosted`. There are no known workarounds.
  • Impact: Attackers can retrieve all user tokens, potentially leading to token misuse or privilege escalation.
  • Remediation: Update to version 23.7.2 or later.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: information_disclosure, privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker needs access to a token with few or no scopes
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Epss score: 0.01056
  • Epss percentile: 0.65127
  • Assignee: [email protected]
  • Published at: 2023-08-07T19:15:11Z
  • Age in days: 1205
  • Modified at: 2026-06-17T06:12:06Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-39349
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd

Cwe

IdName
CWE-284Improper Access Control

Hackerone

  • Reports: 1
  • Rank: 5211

Public exploits

UrlSourceAdded date
https://github.com/getsentry/sentry/security/advisories/GHSA-9jcq-jf57-c62cnvd2023-08-07

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/getsentry/sentry/commit/fad12c1150d1135edf9666ea72ca11bc110c1083Patch
https://github.com/getsentry/sentry/pull/53850Patch
https://github.com/getsentry/sentry/security/advisories/GHSA-9jcq-jf57-c62cExploit, Patch, Third Party Advisory
https://github.com/getsentry/self-hosted/releases/tag/23.7.2Release Notes
https://github.com/getsentry/sentry/releases/tag/23.7.2Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
sentry:sentry>= 22.1.0, < 23.7.2nonvd/v1/products/sentry/sentry

Projects

RepositoryLink kindsIndexedUrl
getsentry/sentrycommit, fix, package, pull, releases, security_advisoryyes/v1/repositories/getsentry/sentry
getsentry/self-hostedreleasesyes/v1/repositories/getsentry/self-hosted

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2023-08-07
  • Remote: yes
  • Authentication required: yes
  • Hackerone reports: 1
  • Exposed hosts: 789
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since