SuggestArr auth bypass in local_bypass mode via spoofed X-Forwarded-For
giuseppe99barchetta SuggestArr
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| giuseppe99barchetta SuggestArr |
| No fix yet |
Original description
SuggestArr before 3.0.0 contains an authentication bypass vulnerability in its local_bypass authentication mode where enforce_authentication() in api_service/auth/middleware.py trusts the client-controlled request.remote_addr value, which is derived from the spoofable X-Forwarded-For header due to ProxyFix(x_for=1) configuration in api_service/app.py. Attackers can send a request with X-Forwarded-For set to a trusted CIDR address such as 127.0.0.1 to be granted an unauthenticated admin session via _load_bypass_user_context(), gaining full administrative access to endpoints like /api/users and /api/jobs without providing any credentials.
From the CVE record · VulnCheck