Description
frp 0.41.0 through 0.71.1 contains a missing authentication vulnerability that allows unauthenticated remote attackers to access pprof debug endpoints because handlers are registered on the root mux outside Basic Authentication. Attackers can query /debug/pprof/ endpoints on frps dashboard or frpc admin listeners to obtain cmdline, goroutine stacks, heap profiles, and trigger CPU profiling.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
fatedier frp
Default version status: unaffected
0.41.0 to ≤ 0.71.1affected
pkg:golang/github.com/fatedier/frpReferences
- https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/HyZWPT3jfe ↗
- https://github.com/fatedier/frp/blob/v0.71.1/pkg/util/http/server.go#L124-L130 ↗
- https://github.com/fatedier/frp/blob/v0.71.1/server/api_router.go#L27-L32 ↗
- https://github.com/fatedier/frp ↗
- https://www.vulncheck.com/advisories/frp-0.41.0-through-0.71.1-missing-authentication-for-pprof-debug-endpoints ↗