Fiber: Username Enumeration via Timing Oracle in BasicAuth Default Authorizer
gofiber fiber
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/gofiber/fiber/v3 Go |
|
|
Original description
Fiber is an Express inspired web framework written in Go. Prior to 3.3.0, the default Authorizer function in the BasicAuth middleware in middleware/basicauth/config.go uses short-circuit evaluation that skips password hash comparison for non-existent usernames, enabling reliable remote username enumeration through response timing differences. This issue is fixed in version 3.3.0.
From the CVE record · GitHub_M