CVE-2023-40171 Dispatch writes JWT tokens in error message
Attackers can obtain the JWT secret from error messages to forge tokens and take over accounts in Dispatch instances using the Basic Authentication plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-40171?
CVE-2023-40171 is a critical vulnerability in Netflix dispatch, published on 17 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Dispatch is an open source security incident management tool. The server response includes the JWT Secret Key used for signing JWT tokens in error message when the `Dispatch Plugin - Basic Authentication Provider` plugin encounters an error when attempting to decode a JWT token. Any Dispatch users who own their instance and rely on the `Dispatch Plugin - Basic Authentication Provider` plugin for authentication may be impacted, allowing for any account to be taken over within their own instance. This could be done by using the secret to sign attacker crafted JWTs. If you think that you may be impacted, we strongly suggest you to rotate the secret stored in the `DISPATCH_JWT_SECRET` envvar in the `.env` file. This issue has been addressed in commit `b1942a4319` which has been included in the `20230817` release. users are advised to upgrade. There are no known workarounds for this vulnerability.
Weakness: CWE-209
Which versions are affected by CVE-2023-40171?
It affects 1 product.
Products include Netflix Dispatch.
How do I fix CVE-2023-40171?
No fix has been published for CVE-2023-40171 yet. Limit exposure of the affected software until one is available.
Is CVE-2023-40171 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-40171 exists.
Other vulnerabilities in Netflix dispatch
Sources
Also known as GHSA-fv3x-67q3-6pg7.