Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Security Advisory]: Invite code reuse via cookie manipulation #5

Open
jeff-a-holland-codecov opened this issue Dec 5, 2023 · 0 comments

Comments

@jeff-a-holland-codecov
Copy link
Collaborator

Package and Versions

Package: sentry pip
Affected Version(s): >= 20.6.0, <=22.10.0
Patched Version(s): 22.11.0

Description

With a known valid invite link (i.e. not already accepted or expired) an unauthenticated attacker can manipulate the cookie to allow the same invite link to be reused on multiple accounts when joining an organization.

Impact

An attacker with a valid invite link can create multiple users and join the organization from which the invite link was generated.

Patches

This issue was patched in version 22.11.0.

Workarounds

Sentry SaaS customers do not need to take action.

Self-hosted Sentry installs can disable the invite functionality until they are ready to deploy the patched version by editing their sentry.conf.py file (usually located at ~/.sentry/).

  1. Add the following line into sentry.conf.py:
    SENTRY_FEATURES["organizations:invite-members"] = False

  2. Restart the Sentry web service.
    docker compose restart web

CVSS 3.1 Score and Vector

Example:
CVSS Score: 4.2
CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N

Information

If you have any questions or comments about this advisory:

Visit our FAQs on this CVE
Open an issue in getsentry/sentry
Email us at security[@]sentry.io

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant