Webhooks Should Be Configured To Use SSL
policy name: organization_webhook_doesnt_require_ssl
severity: LOW
Description
Webhooks that are not configured with SSL enabled could expose your software to man-in-the-middle attacks (MITM).
Threat Example(s)
Webhooks with SSL verification disabled can be exploited by any party with access to the target DNS domain, allowing them to masquerade as your designated payload URL and freely read and affect the response of any webhook request. In the case of GitLab Self-Managed, it may be sufficient only to control the DNS configuration of the network where the instance is deployed.
Remediation
- Go to the group Settings -> Webhooks page
- Find the misconfigured webhook and press ‘Edit’
- Toggle ‘Enable SSL verification’
- Press ‘Save Changes’