Skip to content
High 7.1

nerves_hub_webの脆弱性、閲覧権限のユーザーがデバイスを別組織へ移し、ファームウェアを入手されるおそれ

CVE-2026-120295 First seen on SecPulse

Summary

nerves_hub_webの認可の不備により、ある組織で管理権限、別の組織で閲覧権限のユーザーが、デバイスの一括移動で別組織の製品へデバイスを移せます。移されたデバイスは移動先のファームウェアを受け取れるため、閲覧権限では本来得られない配布情報が渡るおそれがあります。影響はnerves_hub 1.0.0から2.5.3より前で、2.5.3以降の修正版への更新が必要です。なお、ある版では修正版がありません。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

nerves_hub_webの認可の不備により、ある組織で管理権限、別の組織で閲覧権限のユーザーが、デバイスの一括移動で別組織の製品へデバイスを移せます。移されたデバイスは移動先のファームウェアを受け取れるため、閲覧権限では本来得られない配布情報が渡るおそれがあります。影響はnerves_hub 1.0.0から2.5.3より前で、2.5.3以降の修正版への更新が必要です。なお、ある版では修正版がありません。

Affected packages

PackageAffected → Fixed
nerves-hubnerves_hub_web
≥ adaeefdb7a835525482588f43332ef988cc448c7 (no fix yet)→ Not listed
≥ 79743ef08f7f801617b653fd09f37c01ed9b4be0, < 1bc8be875ab6b1eb904e5ff60c8a1421c5c700fa→ 1bc8be875ab6b1eb904e5ff60c8a1421c5c700fa
Original description The description as published by the source.

Summary

Incorrect Authorization vulnerability in the devices page bulk move in nerves-hub nerves_hub_web allows an authenticated user with the manage role in one organization and only the view role in another to move devices into the second organization's product via the "Move device(s) to product" action. The target-product event in NervesHubWeb.Live.Devices.Index looks the product up with NervesHub.Products.get_by_id/2, which checks that the user is a member of the product's organization at any role, and move-devices-product then changes each selected device's organization and product. The device API's move requires manage in the target organization, and an earlier fix added the check on the organization the devices leave but not on the one they enter.

A moved device keeps its key and certificate, joins the target organization's matching deployment groups, and is sent their firmware with a download URL, which the view role cannot otherwise obtain. The user cannot change or control devices that already belong to the other organization.

This issue affects nerves_hub: from 1.0.0 before 2.5.3.

Details

1. Target selection. The bulk actions sidebar (NervesHubWeb.Components.BulkActionsSidebar) lists the products of every organization in current_scope.user.orgs. Choosing one sends target-product to NervesHubWeb.Live.Devices.Index, which requires device:update in the current organization and then calls NervesHub.Products.get_by_id/2. That q…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details