SecurityContext

CVE-2024-35196: Sentry - Cross Site Request Forgery

  • Cve: CVE-2024-35196
  • Name: Sentry - Cross Site Request Forgery
  • Description: Sentry is a developer-first error tracking and performance monitoring platform. Sentry's Slack integration incorrectly records the incoming request body in logs. This request data can contain sensitive information, including the deprecated Slack verification token. With this verification token, it is possible under specific configurations, an attacker can forge requests and act as the Slack integration. The request body is leaked in log entries matching `event == "slack.*" && name == "sentry.integrations.slack" && request_data == *`. The deprecated slack verification token, will be found in the `request_data.token` key. **SaaS users** do not need to take any action. **Self-hosted users** should upgrade to version 24.5.0 or higher, rotate their Slack verification token, and use the Slack Signing Secret instead of the verification token. For users only using the `slack.signing-secret` in their self-hosted configuration, the legacy verification token is not used to verify the webhook payload. It is ignored. Users unable to upgrade should either set the `slack.signing-secret` instead of `slack.verification-token`. The signing secret is Slack's recommended way of authenticating webhooks. By having `slack.singing-secret` set, Sentry self-hosted will no longer use the verification token for authentication of the webhooks, regardless of whether `slack.verification-token` is set or not. Alternatively if the self-hosted instance is unable to be upgraded or re-configured to use the `slack.signing-secret`, the logging configuration can be adjusted to not generate logs from the integration. The default logging configuration can be found in `src/sentry/conf/server.py`. **Services should be restarted once the configuration change is saved.**
  • Impact: Attackers can forge requests and act as the Slack integration, leading to unauthorized actions or data exposure.
  • Remediation: Upgrade to version 24.5.0 or higher, rotate Slack verification tokens, and use Slack Signing Secret for webhook verification.
  • Vulnerability type: cross_site_request_forgery
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: low
  • Cvss score: 2
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N
  • Epss score: 0.00575
  • Epss percentile: 0.4837
  • Assignee: [email protected]
  • Published at: 2024-05-31T18:15:12Z
  • Age in days: 907
  • Modified at: 2026-06-17T07:34:31Z
  • Patch available: yes
  • References total: 7
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-35196
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-532Insertion of Sensitive Information into Log File

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://api.slack.com/authentication/verifying-requests-from-slack#app-management-updates
https://api.slack.com/authentication/verifying-requests-from-slack#deprecation
https://api.slack.com/authentication/verifying-requests-from-slack#regenerating
https://develop.sentry.dev/integrations/slack
https://github.com/getsentry/sentry/blob/17d2b87e39ccd57e11da4deed62971ff306253d1/src/sentry/conf/server.py#L1307
https://github.com/getsentry/sentry/pull/70508
https://github.com/getsentry/sentry/security/advisories/GHSA-c2g2-gx4j-rj3j

Products

ProductAffectedPlatform boundSourcesUrl
sentry:sentry>= 24.3.0, < 24.5.0nocna_alias_text/v1/products/sentry/sentry

Projects

RepositoryLink kindsIndexedUrl
getsentry/sentryfix, package, pull, security_advisoryyes/v1/repositories/getsentry/sentry

Index

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

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 789
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports