Summary
Fider's webhook URL handling can allow an administrator to cause the server to make HTTP requests to user-controlled destinations. If those destinations include internal services or cloud metadata endpoints reachable from the server, sensitive resources may be exposed.
Affected context
The issue affects Fider's webhook functionality when URLs are insufficiently validated before the server fetches them. It is risky where an administrator can configure or control a webhook URL and the server can reach network resources that should not be exposed through the application.
Exploit preconditions
- Attack surface: Fider's webhook URL handling
- Required access: Administrative privileges to control a webhook URL
- Trigger point: The server makes an HTTP request to the configured URL
- Why exploitation is possible: URL validation does not adequately restrict destinations, so server-side requests may reach internal or otherwise unintended resources
Why this happens
The application allows user-controlled webhook URLs to be fetched without sufficiently validating or constraining their destinations. This is a server-side request forgery flaw, mapped to CWE-918, where an attacker can influence a server to send requests to locations that the attacker may not be able to access directly.
Potential impact
- Attackers may be able to access services on internal networks reachable by the server.
- Requests could expose cloud metadata or other sensitive resources.
- Internal services could receive unintended requests from the application.
- Information returned by reachable resources could be disclosed, depending on how responses are handled.
General mitigation guidance
Defensive approaches generally focus on restricting where server-side requests can go:
- Prefer secure-by-default webhook destination policies, such as approved hosts or explicit allowlists.
- Validate and normalize URLs, and reject destinations that resolve to prohibited address ranges.
- Re-check resolved addresses and redirect destinations to reduce DNS rebinding and redirect-based bypasses.
- Limit the server's network access and run application components with least privilege.
- Avoid trusting user-provided URLs as safe solely because they use an expected scheme or format.
How teams detect issues like this
High-level detection approaches include:
- Use static analysis to identify server-side HTTP clients that receive user-controlled URLs.
- Review webhook code for destination checks, redirect behavior, DNS resolution, and address-range restrictions.
- Monitor outbound requests for unexpected destinations, including internal address ranges and metadata services.
- Apply policy checks that require approved webhook hosts and alert on violations.
Automated code review tools may help identify URL-fetching paths that lack destination controls.

