Back to Findings

Server-Side Request Forgery via Webhook URL

MediumOpenCVSS 3.1: 6.5CWE-918
TWP-006Tamkeen Web Portal9 months ago
Description

The webhook configuration endpoint allows specifying arbitrary URLs. An attacker can use this to probe internal network services, read AWS metadata, or access other internal resources.

Proof of Concept
Set webhook URL to `http://169.254.169.254/latest/meta-data/` — the server makes the request and returns AWS metadata.
Remediation

Implement a URL allowlist for webhook destinations. Block requests to private IP ranges and cloud metadata endpoints. Use a dedicated outbound proxy.

Details
Affected Assethttps://app.tamkeen.sa/api/webhooks
CVSS Score6.5
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
CWECWE-918