Urban Dictionary · Report #152717
Race Condition in Definition Votes
Validstatus
15upvotes
29 Oct 2017disclosed
How it was found
There exists a race condition vulnerability in definition votes, allowing any user to artificially manipulate the number of up/down votes for a definition by making asynchronous requests to vote. A malicious user can use this method to reach any number of up or down votes for a definition.
See the attached screenshot for an example.
POC:
- Visit any definition.
- Intercept a vote of the definition, such as with Chrome Developer tools or BurpSuite.
- Make the opposite vote, so you are able to vote again.
- Copy the vote request as a curl command, and in the command line execute the command in the format (command) & (command).
- Revisit the vote. There will now be 2 votes cast, and a negative number of the opposite votes. This can be repeated by removing your vote and executing the request again.
Please let me know if you have any questions,
Jack