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

[0.10.0] Fix unauthorized message deletion #3894

Merged

Conversation

heartsucker
Copy link
Contributor

Status

Ready for review

Description of Changes

(This is a companion to #3893 that targets the release branch instead of develop)

Fixes #3892

Fixes a bug where a source X could delete a reply from a journalist to source Y by guessing the ID.

Testing

See original ticket for the full description of the bug and manual steps to reproduce. There is a regression test for this so make test will cover this issue.

Deployment

This will not affect deployment.

Checklist

If you made changes to the server application code:

  • Linting (make ci-lint) and tests (make -C securedrop test) pass in the development container

This patch fixes a bug where an authenticated source A could
delete the replies send to source B if they could guess the
filename. Since we don't throttle source interactions, and
since the wordlists are public, an attack could attempt to
enumerate them.

(cherry picked from commit fc9db84)
@emkll emkll force-pushed the unauthorized-message-deletion-into-release branch from fef1e8f to 985784c Compare October 22, 2018 18:21
@emkll emkll changed the title Fix unauthorized message deletion (PR into release) [0.10.0] Fix unauthorized message deletion Oct 22, 2018
Copy link
Contributor

@redshiftzero redshiftzero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

verified these commits are the same as in companion PR #3893

@redshiftzero redshiftzero merged commit 16a6d30 into release/0.10.0 Oct 22, 2018
@redshiftzero redshiftzero deleted the unauthorized-message-deletion-into-release branch October 22, 2018 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants