Description
Improper Authorization vulnerability in nerves-hub nerves_hub_web allows cross-organization device control via device bulk actions and device update API. Missing authorization checks in the device bulk actions and device update API endpoints allow authenticated users to target devices belonging to other organizations and perform actions outside of their privilege level. An attacker can select devices outside of their organization by manipulating device identifiers and perform management actions on them, such as moving them to products they control. This may allow attackers to interfere with firmware updates, access device functionality exposed by the platform, or disrupt device connectivity. In environments where additional features such as remote console access are enabled, this could lead to full compromise of affected devices. This issue affects nerves_hub_web: from 1.0.0 before 2.4.0.
Problem types
CWE-285 Improper Authorization
CWE-668 Exposure of Resource to Wrong Sphere
Product status
1.0.0 (semver) before 2.4.0
pkg:otp/nerves_hub@1.0.0 (purl) before pkg:otp/nerves_hub@2.4.0
1.0.0 (semver) before 2.4.0
pkg:oci/nerves-hub?repository_url=ghcr.io/nerves-hub&tag=1.0.0 (purl) before pkg:oci/nerves-hub?repository_url=ghcr.io/nerves-hub&tag=2.4.0
adaeefdb7a835525482588f43332ef988cc448c7 (git) before 1f69c9d595684a4650c3ac702f3dc7c5bcd7526c
pkg:github/nerves-hub/nerves_hub_web@adaeefdb7a835525482588f43332ef988cc448c7 (purl) before pkg:github/nerves-hub/nerves_hub_web@1f69c9d595684a4650c3ac702f3dc7c5bcd7526c
Credits
Josh Kalderimis / NervesHub team & NervesCloud
Jonatan Männchen / EEF
Lars Wikman / NervesHub team & NervesCloud
References
github.com/...ub_web/security/advisories/GHSA-f8fr-mccc-xvcx
github.com/...ommit/1f69c9d595684a4650c3ac702f3dc7c5bcd7526c