Details
Plane’s integration service checked that a request came from a signed-in user, but not that the user belonged to the workspace the request was for. It also trusted the workspace and user named in the request body over the ones in the URL.
Impact
Any signed-in user, including one who belongs to no workspace, could:
- Read another workspace’s integration connections. In 1.12.1 and later, these include the secrets of a GitHub Enterprise connection.
- Disconnect another workspace’s integrations.
- Create a credential for another workspace’s owner. Plane then issued an API token that acts as that owner for 7 days.
Remediation
Upgrade Plane Commercial Edition to 4.0.0. Plane Cloud already runs the fix.
After upgrading, on any edition:
- If you’ve connected GitHub Enterprise, generate a new client secret, private key and webhook secret for the GitHub app, then update them in Plane. Treat the old ones as known to others.
- Check your workspace’s integrations and reconnect any that were disconnected without your knowledge.
API tokens created this way stop working 7 days after they were issued.
There’s no workaround for earlier versions.
Credit
Found during a security review of Plane.