Logic Flaw: I Can Block You from Accessing Your Own Account
A logic flaw in a forum's points system allowed an attacker to repeatedly like and unlike posts, notifications, or badges to gain points. The same repeated actions could cause another user's account to be blocked, denying them access.
Published on medium.com
{{media:0}}
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.
Context
This is a write-up about a logic flaw found in a bug bounty program that the author describes only as "a new program with a pretty solid scope". The report does not name the program or the target application. The relevant asset is a forum used for customer support, resolving issues and answering questions. The feature that matters here is the forum's ranking and points system: users earn points for activities such as answering questions, solving issues and sending badges, and the points feed a leaderboard.

The author frames the work as a return to forum culture, and the report opens with a screenshot of a KnowYourMeme leaderboard purely as an illustration of the kind of ranking system being discussed.
Setup
The report does not list specific tool versions. The tools and preconditions that appear are:
- A normal user account on the forum, used for "real user testing".
- Burp Suite, including Intruder, macros and the ability to send requests with null payloads.
- Three captured requests: a like request, an unlike request, and a request to the profile or any other forum page.
- The ability to view other users' notifications, which the author initially suspected was broken access control but later confirmed from the documentation to be intended behaviour: you can view another user's notifications but not control them.
Finding it
During ordinary use, the author noticed that liking anything on the forum earned 5 points. An attempt to automate this with Intruder and to test for race conditions did not produce much at first.
The more interesting observation came from like and unlike behaviour. When a post was liked and then unliked, the likes count on the author's profile changed, but the points did not. That mismatch between the displayed count and the awarded points meant the like and unlike cycle could be repeated to climb the leaderboard.
Repeating the process with Burp Suite tricks, described in the exploitation section below, gained around 130 points. The author then found that anyone could access user notifications. Reading the documentation showed this was intended, so it was not a broken access control issue. However, notifications could still be liked and unliked, and applying the same like and unlike trick to any user's notification produced 20 points.
A further step involved a badge the victim had sent to the attacker. Checking the attacker's notifications and repeating the like and unlike process on the badge the victim had sent earned 30 points per like and unlike cycle. That put the author's name on the leaderboard.
At that point the author's own account was blocked. Every login attempt was stopped by what the report calls a sad black screen. The author then reasoned that the same process could be applied to anyone's post or action, and that the target user would lose access to their account.
Exploitation
The author describes the repetition mechanism as needing three requests: like, unlike, and profile (or any page).
Step 1: Capture the like request
Send a like on any post or action and highlight the request as green in Burp Suite.
Step 2: Capture the unlike request
Unlike the same item and highlight the request as red.
Step 3: Capture a page request
Go to your profile, or any page on the forum, and highlight that request as blue.
Step 4: Configure a Burp Suite macro
Open Burp Suite macros and select the green and red requests, that is the like and the unlike. The report links to an external video for this step. The report links to an external video for this step and does not describe the macro's behaviour further.
Step 5: Run Intruder with null payloads
Send the blue request to Intruder, choose null payloads, set concurrent requests to 1, and start the attack. The report does not explain how the macro and Intruder interact during the attack.
Step 6: Observe the result
The attacker accumulates a large number of points, and the victim is blocked from the forum.
Root cause
The report describes the issue as a logic flaw and offers two theories, presented as theories because the testing was black box.
- The backend may detect that the victim is receiving a lot of requests on their post or action in a short period, and block the account as a result. The author notes the asymmetry: as the attacker, no block message or other indication appeared, and the attacker was not triggering the Web Application Firewall.
- The server may not properly validate or rate-limit the requests, which could overwhelm or corrupt the request-handling mechanism, leading to improper handling of user data and the account being locked out or invalidated.
The report also notes that when the server responds with a 400 Bad Request, it means the server detected something wrong with the victim's request, likely due to corrupted state or malformed data caused by the exploit. The author states that without more information it is difficult to develop further theories.
Impact
Under the conditions described, an attacker with a normal account could repeat the like and unlike cycle against another user's post or action and cause that user to lose access to their account. The author states this could be done to anyone's account.
Fix
It states that the program took 20 days to respond and marked the report as informational.
Variants to test
- Repeat a state-changing action that awards points, such as like and unlike, and check whether the displayed count and the awarded points diverge. A positive result is a count that changes while the points balance stays the same, or points that increase on each cycle.
- Apply the same cycle to objects belonging to other users, such as notifications or badges. A positive result is points credited to the attacker for actions on another user's object.
- Automate the cycle with a macro plus Intruder null payloads at concurrency 1, and watch for 400 Bad Request responses or account lockout on the target account. A positive result is the target being blocked while the attacker's account remains usable.
- Test whether the server rate-limits or validates the repeated requests at all. A positive result is the absence of any throttling or rejection before the account is invalidated.
What happened, in plain words
A security researcher found a way to make a forum block any user's account, including the researcher's own, by repeatedly liking and unliking posts. The forum gave points for likes, and the points system had a flaw: liking and then unliking a post changed the displayed like count but the points did not change. By automating the like and unlike cycle, the researcher could earn points quickly and climb the leaderboard. The same cycle could be applied to other users' notifications and badges, earning even more points. Eventually, the researcher's own account was blocked, and the researcher realised the same technique could be used to block anyone's account. The report was marked as informational by the bug bounty program.

Background: forums, points and leaderboards
A forum is a website where people post messages and reply to each other. Many forums have a points system: you earn points for activities like answering questions, solving issues, or sending badges (small virtual awards). The points are shown on a leaderboard, a ranked list of users. The author was exploring a bug bounty program that included such a forum for customer support.
A bug bounty program is a scheme where organisations invite people to find security problems in their systems and report them, sometimes for a reward. The author does not name the program or the forum.
The tools used
To follow the steps, you need:
- A normal user account on the forum.
- Burp Suite, a tool that lets you inspect and modify the requests your browser sends to a website. It includes features like Intruder (for sending many requests automatically) and macros (for repeating a set of requests before each main request).
- Three captured requests: one for liking a post, one for unliking it, and one for loading your profile page (or any other page).
- The ability to view other users' notifications, which the forum allowed by design.
How the flaw was found
While using the forum normally, the author noticed that liking anything earned 5 points. Trying to automate this with Intruder and testing for race conditions (where multiple requests are sent at almost the same time to exploit timing issues) did not yield much at first.
The key observation came from like and unlike behaviour. When a post was liked and then unliked, the likes count on the author's profile changed, but the points did not. In other words, the displayed number of likes changed, but the points balance did not. This mismatch meant the like and unlike cycle could be repeated to gain points.
Repeating the process with Burp Suite tricks (described below) gained around 130 points. The author then discovered that anyone could access user notifications. At first, this looked like a broken access control (a situation where a user can do something they should not be allowed to do), but reading the documentation showed it was intended: you can view another user's notifications but not control them. However, notifications could still be liked and unliked, and applying the same trick to any user's notification produced 20 points.
A further step involved a badge the victim had sent to the attacker. Checking the attacker's notifications and repeating the like and unlike process on the badge the victim had sent earned 30 points per cycle. That put the author's name on the leaderboard.
At that point, the author's own account was blocked. Every login attempt was stopped by what the report calls a sad black screen. The author then reasoned that the same process could be applied to anyone's post or action, and that the target user would lose access to their account.
Step-by-step exploitation
The author describes the repetition mechanism as needing three requests: like, unlike, and profile (or any page).
Step 1: Capture the like request
Send a like on any post or action and highlight the request as green in Burp Suite. This marks the request that performs the like.
Step 2: Capture the unlike request
Unlike the same item and highlight the request as red. This marks the request that performs the unlike.
Step 3: Capture a page request
Go to your profile, or any page on the forum, and highlight that request as blue. This marks the page request used in the attack.
Step 4: Configure a Burp Suite macro
Open Burp Suite macros and select the green and red requests, that is the like and the unlike. The report links to an external video for this step. The report links to an external video for this step and does not describe the macro's behaviour further.
Step 5: Run Intruder with null payloads
Send the blue request to Intruder, choose null payloads, set concurrent requests to 1, and start the attack. The report does not explain how the macro and Intruder interact during the attack.
Step 6: Observe the result
The attacker accumulates a large number of points, and the victim is blocked from the forum. The report does not show the raw requests or responses for these steps.
Why it works: root cause theories
The report describes the issue as a logic flaw and offers two theories, presented as theories because the testing was black box (the author could not see the server's internal code).
- The backend may detect that the victim is receiving a lot of requests on their post or action in a short period, and block the account as a result. The author notes the asymmetry: as the attacker, no block message or other indication appeared, and the attacker was not triggering the Web Application Firewall (WAF).
- The server may not properly validate or rate-limit the requests, which could overwhelm or corrupt the request-handling mechanism, leading to improper handling of user data and the account being locked out or invalidated.
The report also notes that when the server responds with a 400 Bad Request, it means the server detected something wrong with the victim's request, likely due to corrupted state or malformed data caused by the exploit. The author states that without more information it is difficult to develop further theories.
Impact
Under the conditions described, an attacker with a normal account could repeat the like and unlike cycle against another user's post or action and cause that user to lose access to their account. The author states this could be done to anyone's account.
Fix
It states that the program took 20 days to respond and marked the report as informational.
Variants to test
- Repeat a state-changing action that awards points, such as like and unlike, and check whether the displayed count and the awarded points diverge. A positive result is a count that changes while the points balance stays the same, or points that increase on each cycle.
- Apply the same cycle to objects belonging to other users, such as notifications or badges. A positive result is points credited to the attacker for actions on another user's object.
- Automate the cycle with a macro plus Intruder null payloads at concurrency 1, and watch for 400 Bad Request responses or account lockout on the target account. A positive result is the target being blocked while the attacker's account remains usable.
- Test whether the server rate-limits or validates the repeated requests at all. A positive result is the absence of any throttling or rejection before the account is invalidated.
Glossary
- API: Application Programming Interface; a set of rules that lets one program talk to another. In a website, the API is often the part that handles requests behind the scenes.
- Cookie: A small piece of data stored by your browser that a website can use to remember you, such as keeping you logged in.
- Token: A piece of data, often a string of characters, that proves who you are or grants access to something, similar to a temporary password.
- Vulnerability: A weakness in a system that can be exploited to cause harm.
- Logic flaw: A vulnerability that arises from a mistake in the business rules or workflow of an application, rather than from a technical bug like a buffer overflow.
- Bug bounty program: A program where organisations reward people for finding and reporting security vulnerabilities.
- Burp Suite: A tool for testing web applications by intercepting and modifying the traffic between your browser and the server.
- Intruder: A Burp Suite tool that automates sending many requests with varying payloads.
- Macro: A Burp Suite feature that lets you record a sequence of requests and replay them automatically before each main request.
- Null payloads: A setting in Intruder that sends requests with no payload, used to repeat the same request many times.
- Race condition: A situation where the outcome depends on the timing of events, often exploited by sending multiple requests simultaneously.
- Broken access control: A vulnerability where a user can access resources or perform actions that they should not be allowed to.
- Web Application Firewall (WAF): A security system that filters and monitors HTTP traffic to and from a web application, blocking malicious requests.
- 400 Bad Request: An HTTP status code indicating that the server cannot process the request due to a client error, such as malformed syntax.
- Rate limiting: A technique to control how many requests a client can make in a given time period, to prevent abuse.
- Black box testing: Testing where the tester has no knowledge of the internal workings of the system.
- Leaderboard: A ranked list of users based on points or other metrics.
- Badge: A virtual award or token of recognition on a forum.
- Notification: A message or alert within a platform, often about activity related to the user.