Description
EdgeEver through 1.108.0 contains a missing authorization vulnerability in the Hono API memo-template routes that allows holders of scoped API tokens to bypass token scope restrictions because template handlers never call requireScopes. Attackers with a token lacking write:memos can save a template and invoke POST /api/v1/templates/:id/use to create memos, and list, modify, or delete templates in the token owner's workspace.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| tianma-if | EdgeEver | ≤ 1.108.0 | — |
References
- https://hackmd.io/@haind/edgeever-template-write-memos-scope-bypass third-party-advisory
- https://github.com/tianma-if/edgeever/blob/0ef9a1df9c849a64047aba64c70331c2badf8b39/apps/api/src/template-routes.ts#L116-L230 technical-description
- https://github.com/tianma-if/edgeever/blob/0ef9a1df9c849a64047aba64c70331c2badf8b39/apps/api/src/memo-routes.ts#L148-L150 technical-description
- https://github.com/tianma-if/edgeever product
- VulnCheck Advisory: EdgeEver through 1.108.0 Missing Authorization via Memo-Template API Routes third-party-advisory