HexBrain

Phabricator · Report #434116

Exposing voting results on the Slowvote application without actually voting

Validstatus
lowseverity
$300bounty
12upvotes
5 Nov 2018disclosed

How it was found

Description

There is a feature on the Phabricator Slowvote application which allows creating polls and asking questions. The poll creator can choose to only allow people who voted to actually see the poll results. However, it seems that by sending an illegal vote a user can still see the poll's results.

Steps to reproduce

  1. As user1 creator a poll on the Slowvote application and make it visible for anyone and also check the "Require a vote to see the responses" option.
  2. As user2 browse to the poll and see that since you haven't voted you can't see the actual result.
  3. As user2 choose one of the options and vote while intercepting the request.
  4. Change the "vote%5B%5D" parameter to contain an illegal vote_id (usually just a big number should be enough).
  5. See that you can now see the poll's results but you didn't actually vote.

Mitigation

You should probably verify that the user is actually voting for a valid option.

Impact

An unauthorized user can see poll results without making a vote as required by an admin.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original