Description (CNA)
Sim before 0.8.14 classifies tool requests as internal based on URL prefix matching without scheme normalization, skipping SSRF validation and minting internal authentication tokens. Authenticated workflow authors can bypass external URL validation by supplying paths starting with /api/ in HTTP blocks to reach internal-only endpoints like POST /api/function/execute.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| simstudioai / sim | affected 0 before 0.8.14 |
CWE
CWE-441
References
- https://github.com/geo-chen/oss/blob/main/sim.md
- https://github.com/simstudioai/sim/blob/v0.8.13/apps/sim/tools/index.ts
- https://github.com/simstudioai/sim/blob/v0.8.13/apps/sim/lib/auth/hybrid.ts
- https://github.com/simstudioai/sim/pull/7179
- https://github.com/simstudioai/sim
- https://www.vulncheck.com/advisories/sim-before-0.8.14-confused-deputy-in-tool-url-routing-mints-an-internal-token-for-a-user-supplied-api-path
ADP enrichment
No English description supplied.
No references supplied.