Summary by Trello
Privilege Escalation Vulnerability in Trello
Privilege Escalation Vulnerability in Trello
Privilege Escalation Vulnerability: Other Users of the Board can run Local Automation Buttons as Owners
Butler for Trello
Web App
https://app.butlerfortrello.com/api/powerup-run-command
Attack Scenario
For a Trello Board there are a lot of Automation's you can create, out of which one is the Board Button.
Now, a Board Button can be of two types:
This usability can be changed by enabling/disabling the Automation Button Option ANYONE IN WORKSPACE CAN ENABLE THIS BUTTON
When the Owner of the Board Creates an Automation Button and does not enable the sharing option for this button in the board. Then that button is only visible and executable to the owner of the board.
The above restriction fails for Board Button Automation and by sending the below request with Token of any other user, that user can still execute the Button.
In the above request there can be two scenarios:
The Owner of the button enabled sharing option for the Board Button and others users captured this request. Now, even after the Board Owner Disabled the sharing option for the Board Button, other users can still use the above request to execute the button which they are not allowed anymore.
Other users can create this request from scratch as most of the IDs are anyways visible to Other Users.
cmd_id: The format is <OwnerID>-<Incremental ID>.
uid: OwnerID, Visible to all Members.
board_id: ID of Board where Button is created, Visible to all Members.
board_name: Name of the Board where Button is created, Visible to all Members.
The fix is necessary because there is a restriction on executing Automation for Card Button, along with all other features like Viewing/Creating/Deleting/Editing for the Automation of a Board Button.
Hence, there should be a similar restriction for executing a Board Button.
Steps to Reproduce
Automation Board Button
1.Login as Owner of the Board
2.Create an Automation Board Button, and disable the option ANYONE IN WORKSPACE CAN ENABLE THIS BUTTON
3.You will see that the button is visible in your Board
4.Login as any other user like a normal member or other admin of the board, and you will see that you cannot see/access the same button on your board.
5.Send the following request with the X-Butler-Trello-Token for that user and you will get a Success Response and the Automation Button will Execute with the desired results, even though it is not accessible from the boards of other users.
Automation Card Button
The same Scenario does not work for Automation Card Button.
1.Automation Card Created by Owner of the Board.
2.Visible for Owner
3.Not Visible for Any Other User in there Board View
4.The request to run the Automation Card Button is as Follows, which when run with the cookies of Any Other user of the Board except the Owner who created the Button, gives either a 401 Unauthorized Response or a 404 Not Found Response.
When Run as a Non-Member/Observer
When run as a Normal-Member/Other-Admin
Business Impact
The Above scenario proves that the Restriction for executing Automation Board Button is Not Working As Intended, which allows any Board Member/Admin to execute Automation Buttons for the Owner of The Board or any other user who created the Automation Button.
The fix is necessary because there is a restriction on executing Automation for Card Button, along with all other features like Viewing/Creating/Deleting/Editing for the Automation of a Board Button.
Hence, there should be a similar restriction for executing Automation Button for a Board.
Vulnerability Fix
There should be a similar restriction for Board Buttons as there is one for Card Buttons and Other features of Board Buttons.
Also, there should be a server side check to see if Other users are performing any restricted Actions.
CVSS Score
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N | CVSS: 5.4 (MEDIUM)