Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| TaskingAI / TaskingAI | affected 0 through 0.3.0 |
CWE
CWE-918
References
- 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
ADP enrichment
No English description supplied.
No references supplied.