pangolin/server/routers
Owen c8d6fd2430
Stop local sites attaching to another org's remote exit node
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.
2026-11-25 21:20:03 -05:00
..
accessToken Order more api routes 2026-07-20 11:43:09 -04:00
aiBudget add virtual api keys to budgets 2026-08-12 13:21:56 -04:00
aiGateway Require Traefik trust and a site-resource grant on the private AI gateway 2026-11-25 19:39:38 -05:00
aiProvider Guard tenant-supplied outbound URLs against SSRF 2026-11-25 19:38:03 -05:00
alertRule Support selecting labels for alert rules 2026-11-03 09:23:17 -05:00
apiKeys Stop custom roles granting actions and admin roles they do not hold 2026-11-23 10:47:02 -05:00
auditLogs SSH log 2026-11-02 14:56:55 -05:00
auth Let bannedEmails ban whole domains and plus-addressed variants 2026-11-25 19:50:06 -05:00
badger Rate limit header auth attempts 2026-11-09 16:23:48 -05:00
billing add subscription violation banner 2026-02-11 10:06:56 -08:00
blueprints Quiet logs 2026-07-06 14:44:30 -04:00
browserGatewayTarget Fix target pulling still being private 2026-08-17 13:40:09 -04:00
certificates Fix #2937 2026-08-24 11:42:35 -04:00
client add user and agent table filters 2026-11-04 09:44:11 -05:00
customDnsRecord Adjust how multi record items are stored 2026-10-28 13:42:59 -04:00
domain Move domain information to all in private 2026-09-14 16:48:10 -04:00
generatedLicense Support addons and monthly billing 2026-11-13 14:00:30 -05:00
gerbil Added relayPort to exitNodes in db 2026-10-06 18:11:23 -06:00
healthChecks Add the site to the ui and allow picking 2026-04-21 14:34:28 -07:00
idp Let bannedEmails ban whole domains and plus-addressed variants 2026-11-25 19:50:06 -05:00
labels Add labels to the integration api 2026-10-12 16:21:12 -04:00
launcher show exit nodes in resource launcher 2026-09-29 17:05:07 -04:00
license
loginPage
newt Update the cli based on the cli version 2026-11-10 09:45:23 -05:00
olm Support config on machine clients 2026-11-17 16:54:51 -05:00
org Only trust cached org membership that belongs to the caller 2026-11-25 18:38:16 -05:00
orgIdp import and unassocaite org idp 2026-04-16 20:58:18 -07:00
policy MTLS for all public resources 2026-10-20 11:51:43 -04:00
re-key Make rekey not private and in integration api 2026-10-19 16:55:10 -04:00
redirect Reserve the dashboard host and other orgs' hosts for redirects and blueprints 2026-11-25 19:29:46 -05:00
remoteExitNode Fix imports 2026-07-01 21:43:51 -04:00
resource Reserve the dashboard host and other orgs' hosts for redirects and blueprints 2026-11-25 19:29:46 -05:00
resourceSession store metadata on session 2026-11-03 09:56:56 -05:00
role Rebuild all clients when role changes 2026-11-23 10:38:01 -05:00
serverInfo force set supporter status to true in server info endpoint 2026-06-14 14:40:37 -07:00
site Stop local sites attaching to another org's remote exit node 2026-11-25 21:20:03 -05:00
siteProvisioning Add basic provisioning room v1 and update keys 2026-03-29 16:28:51 -07:00
siteResource fix: add enabled filter to private resources list endpoint 2026-10-26 09:40:07 -04:00
ssh Fix target pulling still being private 2026-08-17 13:40:09 -04:00
supporterKey
target Leave local sites on remote exit nodes alone 2026-11-25 21:17:58 -05:00
traefik Add traefik.disable_http_config to turn off GET /traefik-config 2026-11-25 21:08:15 -05:00
user Stop custom roles granting actions and admin roles they do not hold 2026-11-23 10:47:02 -05:00
virtualApiKey Implement cli commands to configure ai clients 2026-08-18 17:12:01 -04:00
ws Read round trip from primary db 2026-11-17 17:07:19 -05:00
external.ts Support config on machine clients 2026-11-17 16:54:51 -05:00
hybrid.ts
integration.ts rename flag, remove idp association, and add permissions ui checkbox 2026-11-17 15:02:29 -05:00
internal.ts Leave OIDC client credentials out of the internal IdP route 2026-11-09 16:23:48 -05:00