Description
Chaskiq through 2.0.3 contains a server-side request forgery vulnerability that allows unauthenticated attackers to fetch arbitrary URLs via the createUrlUpload GraphQL mutation. Attackers can submit internal URLs, including cloud instance metadata endpoints, through POST /graphql and retrieve the full response via the returned ActiveStorage blob URL.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| chaskiq | chaskiq | ≤ 2.0.3 | — |
References
- https://hackmd.io/@hieuPenguinnn/chaskiq-unauthenticated-ssrf-oembed-url-upload third-party-advisory
- https://github.com/chaskiq/chaskiq/blob/2.0.3/app/graphql/mutations/create_url_upload.rb#L29-L66 technical-description
- https://github.com/chaskiq/chaskiq/blob/2.0.3/app/controllers/graphql_controller.rb#L3-L33 technical-description
- VulnCheck Advisory: Chaskiq through 2.0.3 SSRF via createUrlUpload GraphQL Mutation third-party-advisory