Details
Redirect variants
The same missing re-validation enables two distinct primitives depending on the redirect status code:
- 302 (read): the redirect target is fetched with GET and, because
POST /api/2.0/mlflow/webhooks/{id}/testreflects the upstream response body (WebhookTestResult.response_body), the attacker reads arbitrary internal HTTP responses (cloud metadata, internal services). - 307 / 308 (blind write): these preserve the original POST method and body, so the attacker can POST attacker-controlled payloads into private-network management endpoints that act on POST (e.g. Docker daemon
/stop, Elasticsearch/_close, Spring Boot Actuator/shutdown).
Neither requires authentication on a default OSS server.
Then add a fix reference near the top or in a "Remediation" note: