Quick answers
- Is CVE-2023-46943 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2023-46943 being exploited in the wild.
- How severe is CVE-2023-46943?
- Low severity, with a CVSS score of 3.1, published 13 January 2024.
- Which products and versions are affected?
- EverShop < 1.0.0-rc.8; @evershop/evershop (npm) SEMVER:introduced=0,fixed=1.0.0-rc.9.
- Is there a fix for CVE-2023-46943?
- Yes. @evershop/evershop (npm): upgrade to 1.0.0-rc.9 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2023-46943 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2023-46943?
- Check whether you run EverShop or @evershop/evershop (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- @evershop/evershop (npm): upgrade to 1.0.0-rc.9 or later
npm install @evershop/evershop@1.0.0-rc.9
Technical details
A vulnerability exists in the @evershop/evershop NPM package where the HMAC secret used for signing JSON Web Tokens (JWT) is hard-coded as 'secret'. This falls under CWE-798 (Use of Hard-coded Credentials). Because the secret is predictable and publicly known, a remote, unauthenticated attacker can generate valid JWTs with arbitrary claims. This allows for complete authentication bypass and privilege escalation within the application. The issue was addressed in version 1.0.0-rc.8 by transitioning to a more secure session authentication mechanism.
Affected products
- EverShop evershop < 1.0.0-rc.8
Identifiers
- CVE-2023-46943
- GHSA-32r3-57hp-cgfw
Timeline
- 2024-01-12: advisory: NVD published CVE-2023-46943
- 2024-01-13: disclosed: GHSA advisory published