Description
knowns versions before 0.30.0 serve the management API without authentication on all network interfaces by default, with no password required on fresh installations. Attackers can access the unauthenticated /api/tunnel/start endpoint to provision a public tunnel and republish the API at a publicly accessible address.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
knowns-dev knowns
Default version status: unaffected
0 to < 0.30.0affected0.30.0unaffected
pkg:npm/knownsReferences
- https://github.com/knowns-dev/knowns/security/advisories/GHSA-fc85-99vc-9c75 ↗
- https://github.com/knowns-dev/knowns/blob/v0.29.1/internal/server/auth.go#L80-L86 ↗
- https://github.com/knowns-dev/knowns/blob/v0.29.1/internal/cli/browser.go#L193-L200 ↗
- https://github.com/knowns-dev/knowns/blob/v0.29.1/internal/server/routes/tunnel.go#L26-L38 ↗
- https://github.com/knowns-dev/knowns/commit/878a02cb7cc14f0a592fdfda7a520af3cac500fb ↗
- https://github.com/knowns-dev/knowns/releases/tag/v0.30.0 ↗
- https://www.vulncheck.com/advisories/knowns-before-0.30.0-unauthenticated-management-api-exposure ↗