Description
Logto through 1.42.0 contains a server-side request forgery vulnerability in the POST /api/hooks/:id/test endpoint that accepts arbitrary URLs without host validation. Tenant administrators with Management API tokens can make the server issue HTTP POST requests to internal URLs and retrieve response bodies from services on the private network.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
logto-io logto
Default version status: unaffected
0 to ≤ 1.42.0affected
References
- https://github.com/logto-io/logto/issues/9465 ↗
- https://github.com/logto-io/logto ↗
- https://github.com/logto-io/logto/blob/v1.42.0/packages/core/src/libraries/hook/utils.ts ↗
- https://github.com/logto-io/logto/commit/16f4b2e732d5114ac98646c9370ec6ab61d6ed26 ↗
- https://www.vulncheck.com/advisories/logto-server-side-request-forgery-via-webhook-test-endpoint ↗