NervesHub has Insufficient Token Entropy that Allows Authentication Bypass via Brute Force
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| nerves-hub | nerves_hub_web | affected |
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| Nerves-hub | Nerves Hub Web | — |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.468% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Nerves-hub nerveshub
|
|
| CPEs | cpe:2.3:a:nerves-hub:nerveshub:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Nerves-hub nerveshub
|
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Nerves-hub
Nerves-hub nerves Hub Web |
|
| Vendors & Products |
Nerves-hub
Nerves-hub nerves Hub Web |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | NervesHub is a web service that allows users to manage over-the-air (OTA) firmware updates of devices in the field. A vulnerability present starting in version 1.0.0 and prior to version 2.3.0 allowed attackers to brute-force user API tokens due to the predictable format of previously issued tokens. Tokens included user-identifiable components and were not cryptographically secure, making them susceptible to guessing or enumeration. The vulnerability could have allowed unauthorized access to user accounts or API actions protected by these tokens. A fix is available in version 2.3.0 of NervesHub. This version introduces strong, cryptographically-random tokens using `:crypto.strong_rand_bytes/1`, hashing of tokens before database storage to prevent misuse even if the database is compromised, and context-aware token storage to distinguish between session and API tokens. There are no practical workarounds for this issue other than upgrading. In sensitive environments, as a temporary mitigation, firewalling access to the NervesHub server can help limit exposure until an upgrade is possible. | |
| Title | NervesHub has Insufficient Token Entropy that Allows Authentication Bypass via Brute Force | |
| Weaknesses | CWE-330 | |
| References |
| |
| Metrics |
cvssV4_0
|