Coolify GitHub/GitLab OAuth Secrets Leak Vulnerability
Vulnerability
A vulnerability in Coolify prior to version 4.0.0-beta.361 allows any authenticated user to access the details page of any GitHub or GitLab configuration on a Coolify instance, simply by knowing the UUID of the model. This flaw arises from a lack of proper authorization, leading to the unintentional exposure of sensitive information, including the 'client id', 'client secret', and 'webhook secret'.
Impact
Exploitation of this vulnerability results in the unauthorized disclosure of GitHub or GitLab OAuth secrets, including the client ID, client secret, and webhook secret.
Reproduction
To reproduce this vulnerability, an authenticated user can send a request to the Coolify instance's GitHub or GitLab source endpoint, including the UUID of the desired configuration. This request will return the details page, revealing the exposed OAuth secrets.
Remediation
Users should update to Coolify version 4.0.0-beta.361 or later.
Vulnerability Rating
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
