OmniAuth host header injection in provider callback URLs
omniauth
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| omniauth RubyGems |
|
|
Original description
OmniAuth is a flexible authentication system utilizing Rack middleware. Prior to 2.2.0, OmniAuth derives provider callback URLs from request-controlled host information when neither a fixed full_host nor framework-level incoming host validation is configured. A remote unauthenticated client can supply a forged Host header, creating a host header injection risk in applications whose web framework does not verify incoming host headers. Applications using appropriately configured Rails host authorization or a fixed full_host are not affected by this path. This issue is fixed in version 2.2.0.
From the CVE record · GitHub_M