board logo
WUICTeam
  • WUICTeam
  • 100% (Exalted)
  • Newbie Topic Starter
4 days ago
Question
I have an inbound webhook route linked to an endpoint with a secret. After deleting that endpoint (or after promoting metadata to another environment, where the endpoint got a new id), the route kept accepting requests that carried no signature at all, and its handler ran. Is this expected?

Answer
No, it was a bug, and a security-relevant one. When the endpoint referenced by an inbound route could not be found, the signature check was skipped, so anyone able to reach the inbound webhook URL could trigger the route's handler with a payload of their choice.

It is fixed in version 1.8.3:
  • a route with no endpoint set still means "no signature required", as documented;
  • a route that refers to an endpoint that no longer exists now rejects the request with 401 and logs it as a rejected signature;
  • routes with an existing endpoint and secret behave as before.

What to do
Upgrade to 1.8.3. Until then, check that every enabled inbound route points to an existing endpoint, and disable or fix the ones that don't. After upgrading, any request reaching such a route will be rejected, so re-link those routes to the correct endpoint.