Race condition allows to send multiple times feedback for the hacker
The program's feedback feature allowed a program user to send multiple feedback submissions for the same report by sending parallel requests, due to a race condition. An attacker could send multiple feedback emails to the hacker, though only some were recorded as feedback.
- Triaged in 3 days
- Fixed in 4 months
- Disclosed after 6 months
Summary:
Hello team!
We've found out that the program's should be able to send feedback only once per report which is very logical. However, the program user is able to send multiple parallels requests which will lead to the race condition situation and will send multiple feedback to the hacker.
Steps To Reproduce:
- Login as a hacker who are part of your program
- Submit report as this hacker user
- Login as program user who is able to change the state of report
- Set the state of the report which you just submitted to the
resovled - Send feedback to the hacker using
Yes, it was great!orYeah, could have been better.button - Once you have filled everything you will see the following HTTP request:
POST /hacker_reviews HTTP/1.1
Host: hackerone.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: fi-FI,fi;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
X-CSRF-Token: $token
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Content-Length: 112
Origin: https://hackerone.com
DNT: 1
Connection: keep-alive
Cookie: $cookies
Cache-Control: no-transform
hacker_username=kijkijkoijkijkijkijkijki&report_id=1132085&positive=false&behavior=rude&private_feedback=Testing
- If you are using burp suite to reproduce then intercept this request, send it to the repeater and drop it. Do not forward the request to the backend
- Use burp suites turbo intruder's builtin race condition code (
examples/race.py) - Add header
X: %s - Click
Attack - First the system will send multiple emails to the hacker:

- All of these won't be transformed as a feedback. In this case the hacker got 8 emails but only 3 feedback were genarated:

Recommendation:
Make sure only one feedback request will be processed and handled.
References:
https://resources.securitycompass.com/blog/race-condition-web-applications
Impact
Race Condition allows to send multiple times report feedbacks to the hackers
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application did not properly synchronise concurrent requests, allowing multiple feedback submissions to be processed simultaneously.
Impact
A race condition allowed a program user to send multiple feedback emails to a hacker, though only some were recorded as feedback.
What the attacker needed
A hacker account in the program; a program user account with report state change permission; a submitted report; ability to intercept and modify HTTP requests
The fix
The application should ensure that only one feedback request is processed per report, likely by using locking or idempotency checks.
How it was found
- Log in as a hacker who is part of the program.
- Submit a report as that hacker user.
- Log in as a program user who can change the report state.
- Set the report state to resolved.
- Send feedback to the hacker using one of the feedback buttons.
- Intercept the feedback request, send it to Burp Repeater, and drop it.
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 report has not been written yet. The Original tab links to the source.
A race condition happens when a system does two things at almost the same time and gets confused, so it allows an action that should only happen once. Here, a program user could send many feedback requests at once, and the system processed several of them instead of just one. This meant the hacker received multiple emails and some duplicate feedback.
What is Race condition?
Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.