Dust · Report #3104355
Race Condition in Folder Creation Allows Bypassing Folder Limit
How it was found
Summary:
The application enforces a hard limit of 10 folders per user under a specific space (Knowledge -> Space -> Folder). However, due to a Race Condition, it is possible to bypass this limit by sending multiple folder creation requests simultaneously after deleting one folder. This leads to creating more than 10 folders, breaking the intended restriction.
Steps to Reproduce
- Navigate to the Knowledge section and enter a specific Space.
- Create folders until you reach the maximum limit of 10.
- Attempt to create an additional folder — you will receive an error indicating the limit has been reached.
{F4275950}
- Delete one folder so the total becomes 9.
- Immediately after deletion, send a large number of simultaneous folder creation requests (e.g., using Burp Suite Intruder or a custom script).
- Observe that more than 10 folders are created — the limit is bypassed successfully.
{F4275962}
#POC VIDEO:
███████
Impact
This vulnerability allows users to bypass the folder creation limit by sending multiple requests at the same time. As a result, they can create more folders than allowed.
This breaks the platform's rules and can lead to:
- Unfair use of resources.
- Slower performance for other users.
- Abuse of system limits that are meant to keep things stable.
If someone uses this in a large workspace, it could cause serious problems for the whole team.