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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
TaskingAI TaskingAI
Default version status: unaffected
0 to ≤ 0.3.0affected
pkg:github/TaskingAI/TaskingAIReferences
- https://hackmd.io/@hieuPenguinnn/taskingai-user-action-openapi-server-url-ssrf ↗
- https://github.com/TaskingAI/TaskingAI/blob/v0.3.0/backend/app/services/tool/action/openapi_utils.py#L168-L169 ↗
- https://github.com/TaskingAI/TaskingAI/blob/v0.3.0/backend/app/services/tool/action/openapi_call.py#L144 ↗
- https://github.com/TaskingAI/TaskingAI ↗
- https://www.vulncheck.com/advisories/taskingai-through-0.3.0-ssrf-via-openapi-servers-0-url-in-actions ↗