I managed to take down arbitrary posts on Hacker News
The author created over a thousand accounts and used them to cast many rapid upvotes on a target Hacker News post, which triggered the platform's vote-manipulation detection and caused the post to be removed from the front page. The attack exploited the fact that votes from shadowbanned accounts are still displayed, misleading users and the algorithm into flagging the post.
reverseengineeringtogether.wordpress.com
Published on reverseengineeringtogether.wordpress.com
Check out the code on my GitHub!
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker could remove arbitrary posts from the Hacker News front page by manipulating votes, potentially silencing content or damaging authors' reputations.
What the attacker needed
Ability to bypass CAPTCHA; access to proxies; target post on front page
The fix
The platform should assign a virtual score to posts that reflects the weighted value of each vote, so that votes from suspicious accounts are not displayed and do not affect the post's ranking.
How it was found
- Create many accounts by bypassing the weak CAPTCHA and using proxies.
- Identify a target post on the front page.
- Use the accounts to cast many rapid upvotes on the post.
- Wait for real users to notice the unusual vote count and flag the post.
- The post is eventually removed from the front page.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Hacker News uses an algorithm to decide which posts appear on the front page. The author found that by creating many fake accounts and upvoting a post quickly, the system would notice the suspicious activity and remove the post. This works because the fake votes are still shown, making real users think the post is being manipulated and flag it.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.