mirror of
https://github.com/fosrl/pangolin.git
synced 2026-11-27 16:37:40 +00:00
createSite stored any exitNodeId for a local site without checking that the org may use that exit node, and the hybrid Traefik config served every site on the node regardless of org. An org admin could attach a local site to another customer's remote exit node (ids are sequential) and have that node proxy a hostname of theirs into the customer's network. - createSite runs verifyExitNodeOrgAccess for local sites with an exit node, same as tunnelled sites. - The private Traefik config for a remote exit node only includes sites of orgs linked to that node. Nodes with no org links keep the old behaviour, so the 9 existing local sites on unlinked nodes keep routing. Found while reviewing the PAN-1885 change; no evidence on prod of a local site on a node linked to a different org. |
||
|---|---|---|
| .. | ||
| auth | ||
| db | ||
| emails | ||
| lib | ||
| license | ||
| middlewares | ||
| private | ||
| routers | ||
| setup | ||
| types | ||
| aiGatewayServer.ts | ||
| apiServer.ts | ||
| certificates.ts | ||
| cleanup.ts | ||
| dns.ts | ||
| extendZod.ts | ||
| index.ts | ||
| integrationApiServer.ts | ||
| internalServer.ts | ||
| logger.ts | ||
| nextServer.ts | ||
| openApi.ts | ||
| startSchedulers.ts | ||