CVE-2025-68930
Traccar Missing Origin Validation in WebSockets
In short
Traccar's WebSocket connection doesn't check where requests come from, allowing attackers to hijack a logged-in user's real-time GPS tracking session from a malicious website.
Technical detail
Cross-Site WebSocket Hijacking vulnerability in `/api/socket` endpoint due to missing Origin header validation during WebSocket handshake. An attacker can establish an authenticated WebSocket connection using a victim's JSESSIONID cookie from a different origin, bypassing Same Origin Policy and gaining full-duplex access to GPS tracking data and commands.
Summary generated and translated by AI from the official description.
Versions of the Traccar open-source GPS tracking system up to and including 6.11.1 contain a Cross-Site WebSocket Hijacking (CSWSH) vulnerability in the `/api/socket` endpoint. The application fails to validate the `Origin` header during the WebSocket handshake. This allows a remote attacker to bypass the Same Origin Policy (SOP) and establish a full-duplex WebSocket connection using a legitimate user's credentials (JSESSIONID). As of time of publication, it is unclear whether a fix is available.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Affected products
traccar · traccarWant to know if your infrastructure is exposed to this?
Talk to TrueHacking →