Description
Traccar 5.7 through 6.16.0 contains a cross-site request forgery vulnerability that allows attackers to log victims into attacker-controlled accounts because the OpenID Connect callback never validates the OAuth state parameter. Attackers can induce a victim's browser to load /api/session/openid/callback with their own authorization code, causing data the victim enters, such as registered devices, to land in the attacker's account.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Traccar | Traccar | 5.7 – ≤ 6.16.0 | — |
References
- https://hackmd.io/@haind/traccar-oidc-client-missing-state-login-csrf third-party-advisory
- https://github.com/traccar/traccar/blob/cfab560c79ee9c9eaa41c79c6df351e820d6284b/src/main/java/org/traccar/database/OpenIdProvider.java#L110-L198 technical-description
- https://github.com/traccar/traccar/blob/cfab560c79ee9c9eaa41c79c6df351e820d6284b/src/main/java/org/traccar/api/resource/SessionResource.java#L175-L193 technical-description
- https://github.com/traccar/traccar product
- VulnCheck Advisory: Traccar 5.7 through 6.16.0 Login CSRF via OpenID Connect Callback third-party-advisory