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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| fatedier | frp | 0.41.0 – ≤ 0.71.1 | — |
References
- https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/HyZWPT3jfe third-party-advisory
- https://github.com/fatedier/frp/blob/v0.71.1/pkg/util/http/server.go#L124-L130 technical-description
- https://github.com/fatedier/frp/blob/v0.71.1/server/api_router.go#L27-L32 technical-description
- https://github.com/fatedier/frp product
- VulnCheck Advisory: frp 0.41.0 through 0.71.1 Missing Authentication for pprof Debug Endpoints third-party-advisory