Description
TaskingAI through 0.3.0 contains a server-side request forgery vulnerability that allows authenticated attackers to make the backend send arbitrary HTTP requests by supplying an unvalidated OpenAPI servers[0].url in a user-defined action. Attackers holding a project API key or console admin login can create an action pointing to loopback, internal or cloud metadata addresses and run it via POST /actions/{action_id}/run to read back up to 64 KiB of responses.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| TaskingAI | TaskingAI | ≤ 0.3.0 | — |
References
- https://hackmd.io/@hieuPenguinnn/taskingai-user-action-openapi-server-url-ssrf third-party-advisory
- https://github.com/TaskingAI/TaskingAI/blob/v0.3.0/backend/app/services/tool/action/openapi_utils.py#L168-L169 technical-description
- https://github.com/TaskingAI/TaskingAI/blob/v0.3.0/backend/app/services/tool/action/openapi_call.py#L144 technical-description
- https://github.com/TaskingAI/TaskingAI product
- VulnCheck Advisory: TaskingAI through 0.3.0 SSRF via OpenAPI servers[0].url in Actions third-party-advisory