Nerves Hub Web
Monthly
Unauthenticated denial of service in NervesHub's device TLS endpoint: a client certificate that chains to a root the endpoint trusts, while no CA in that chain is registered in NervesHub, sends Erlang/OTP's ssl layer into an endless re-validation of the same path, pinning a scheduler and hammering the shared PostgreSQL database at roughly three queries per pass for every connection opened, and the loop keeps running after the client disconnects. NervesHub 1.0.0 through 2.5.3 are affected, and since 2.0.0 made CAStore's public web roots the default device trust store, no operator configuration is needed for exposure - anyone holding a public-CA client certificate that permits client authentication can trigger it without an account, and the advisory states that one stuck handshake saturated two hosts and the database, so a handful of connections can take NervesHub offline for every device and user until each node is restarted. The vendor-released patch is 2.5.4; the advisory documents a proof-of-concept procedure and ships a real-socket regression test, but no confirmed public exploit code and no CISA KEV entry were identified at time of analysis, and the priority decision places remediation in this week's window rather than an emergency response.
NervesHub CLI login (nerves_hub_web 2.5.0 through 2.5.2) hands an API token to whichever party started the login, so an attacker with no account can call POST /api/auth/cli_session, send the returned /auth/cli/<token> link and its displayed six-digit code to a signed-in NervesHub user, and receive that user's API token on the next poll once the victim clicks 'Confirm login'. The confirmation code is never compared server-side, so it cannot prove the confirming user initiated the flow; the confirm form does carry a CSRF token and the page cannot be framed, so exploitation depends entirely on persuading the victim to open the link and click the button themselves (UI:R, phishing prerequisite). The vendor fixed this in 2.5.3, and while no active exploitation has been confirmed, the advisory publishes an explicit proof-of-concept sequence - a public PoC reference exists; it is not verified as working exploit code - and the vuln.today decision label is act_now given the full-impact token theft it enables.
Cross-organization authorization bypass in NervesHub (nerves_hub_web) 1.0.0 through 2.5.2 lets an authenticated user who holds the manage role in their own organization write devices, products and firmware signing keys into a different organization by submitting that organization's org_id, product_id or deployment_id. A device planted on another tenant's deployment group is subsequently served that organization's firmware along with its download URL; a JITP-enabled certificate authority whose product_id points elsewhere provisions every device into the victim's product. Any signed-in user can create an organization and becomes its admin, so no privilege in the target is needed, and deployment group IDs are sequential, which makes targeting easy; the attacker cannot alter or control devices already belonging to the target organization or upload firmware there. Fixed in 2.5.3; the advisory publishes a step-by-step proof-of-concept procedure, and no public working exploit code was identified at time of analysis. Urgency is set to this_week by the prioritisation signals rather than confirmed active exploitation.
NervesHub 2.3.0 through 2.5.2 will sign a person in to an account that someone else created with their email address, so an attacker who plants a victim's address on an account keeps the password and shares everything the victim is later granted. The attacker registers the address from the sign-up form, changes an existing account's email to it, or registers it from an org-admin invite link, then waits for the address's owner to sign in with Google (which auto-links and confirms any same-email account without checking Google's email_verified claim) or to follow a confirmation link that signs the follower straight in; the API's password sign-in also issues tokens to accounts whose email was never confirmed. Exploitation is unauthenticated per the CVSS vector (PR:N) but is not self-contained - success hinges on the legitimate owner later using one of those paths and on the attacker claiming the address first - the vendor advisory publishes a step-by-step proof of concept but no confirmed in-the-wild exploitation is recorded, and a fixed release is available in 2.5.3.
Incorrect authorization in NervesHub (nerves_hub_web) 1.0.0 through 2.5.2 lets an authenticated user who holds the 'manage' role in one organization but only 'view' in another move controlled devices into the second organization's product through the devices page bulk 'Move device(s) to product' action. A moved device keeps its key and certificate, joins the target organization's matching deployment groups and is sent their firmware along with a download URL that the view role could not otherwise obtain directly; the actor cannot alter or control devices that already belong to the target organization. Exploitation requires cross-organization membership and an active deployment group in the target org, no public exploit was identified at time of analysis, and the issue is fixed in 2.5.3.
Authenticated members of a NervesHub organization who hold only the low-privileged 'view' role can still change devices and deployment groups in versions 1.0.0 through 2.5.2, because a set of Phoenix LiveView event handlers execute without calling authorized!/2 and the dashboard renders the manage-only controls to every member. A view member can upload a self-signed device certificate (allowing whoever holds the matching private key to connect as that device), delete a device certificate so the device can no longer authenticate, add or remove tags, overwrite or clear a device's manual location, move devices in or out of deployment groups (thereby changing which firmware release they receive), import devices from a CSV, and start, retry or delete firmware delta builds; since 2.5.0 they can additionally read up to three days of recorded local shell output from the Data History tab when the local shell extension is enabled and ClickHouse analytics are configured. All changes remain confined to organizations and products the member already belongs to. No public exploit identified at time of analysis; CISA KEV does not list this issue.
Removed or demoted members of a NervesHub organization keep acting at their previous role through dashboard pages, device consoles, local shells and device event streams they already had open, because NervesHubWeb reads the role once at page mount (the :assign_org_to_scope hook in NervesHubWeb.Auth) and once at channel join, and nothing revalidates it after a membership change. Versions 1.0.0 through 2.5.2 are affected; 2.5.3 fixes it by broadcasting membership changes, re-mounting open pages, re-running channel join checks, and replacing the dashboard's 24-hour Phoenix.Token with session-cookie authentication whose socket id is scoped to the session so sign-out closes it. Exploitation requires an already-authenticated org member (PR:L) with an open page or console at the moment of removal or demotion, or possession of a console token lifted from such a page, and it grants nothing beyond what the user could already do at the time; there is no confirmed active exploitation, a step-by-step proof-of-concept reproduction is published in the vendor advisory, the vendor rates the issue low (CVSS 4.0 base 2.3), and the risk-signal decision is monitor.
Unauthenticated denial of service in NervesHub's device TLS endpoint: a client certificate that chains to a root the endpoint trusts, while no CA in that chain is registered in NervesHub, sends Erlang/OTP's ssl layer into an endless re-validation of the same path, pinning a scheduler and hammering the shared PostgreSQL database at roughly three queries per pass for every connection opened, and the loop keeps running after the client disconnects. NervesHub 1.0.0 through 2.5.3 are affected, and since 2.0.0 made CAStore's public web roots the default device trust store, no operator configuration is needed for exposure - anyone holding a public-CA client certificate that permits client authentication can trigger it without an account, and the advisory states that one stuck handshake saturated two hosts and the database, so a handful of connections can take NervesHub offline for every device and user until each node is restarted. The vendor-released patch is 2.5.4; the advisory documents a proof-of-concept procedure and ships a real-socket regression test, but no confirmed public exploit code and no CISA KEV entry were identified at time of analysis, and the priority decision places remediation in this week's window rather than an emergency response.
NervesHub CLI login (nerves_hub_web 2.5.0 through 2.5.2) hands an API token to whichever party started the login, so an attacker with no account can call POST /api/auth/cli_session, send the returned /auth/cli/<token> link and its displayed six-digit code to a signed-in NervesHub user, and receive that user's API token on the next poll once the victim clicks 'Confirm login'. The confirmation code is never compared server-side, so it cannot prove the confirming user initiated the flow; the confirm form does carry a CSRF token and the page cannot be framed, so exploitation depends entirely on persuading the victim to open the link and click the button themselves (UI:R, phishing prerequisite). The vendor fixed this in 2.5.3, and while no active exploitation has been confirmed, the advisory publishes an explicit proof-of-concept sequence - a public PoC reference exists; it is not verified as working exploit code - and the vuln.today decision label is act_now given the full-impact token theft it enables.
Cross-organization authorization bypass in NervesHub (nerves_hub_web) 1.0.0 through 2.5.2 lets an authenticated user who holds the manage role in their own organization write devices, products and firmware signing keys into a different organization by submitting that organization's org_id, product_id or deployment_id. A device planted on another tenant's deployment group is subsequently served that organization's firmware along with its download URL; a JITP-enabled certificate authority whose product_id points elsewhere provisions every device into the victim's product. Any signed-in user can create an organization and becomes its admin, so no privilege in the target is needed, and deployment group IDs are sequential, which makes targeting easy; the attacker cannot alter or control devices already belonging to the target organization or upload firmware there. Fixed in 2.5.3; the advisory publishes a step-by-step proof-of-concept procedure, and no public working exploit code was identified at time of analysis. Urgency is set to this_week by the prioritisation signals rather than confirmed active exploitation.
NervesHub 2.3.0 through 2.5.2 will sign a person in to an account that someone else created with their email address, so an attacker who plants a victim's address on an account keeps the password and shares everything the victim is later granted. The attacker registers the address from the sign-up form, changes an existing account's email to it, or registers it from an org-admin invite link, then waits for the address's owner to sign in with Google (which auto-links and confirms any same-email account without checking Google's email_verified claim) or to follow a confirmation link that signs the follower straight in; the API's password sign-in also issues tokens to accounts whose email was never confirmed. Exploitation is unauthenticated per the CVSS vector (PR:N) but is not self-contained - success hinges on the legitimate owner later using one of those paths and on the attacker claiming the address first - the vendor advisory publishes a step-by-step proof of concept but no confirmed in-the-wild exploitation is recorded, and a fixed release is available in 2.5.3.
Incorrect authorization in NervesHub (nerves_hub_web) 1.0.0 through 2.5.2 lets an authenticated user who holds the 'manage' role in one organization but only 'view' in another move controlled devices into the second organization's product through the devices page bulk 'Move device(s) to product' action. A moved device keeps its key and certificate, joins the target organization's matching deployment groups and is sent their firmware along with a download URL that the view role could not otherwise obtain directly; the actor cannot alter or control devices that already belong to the target organization. Exploitation requires cross-organization membership and an active deployment group in the target org, no public exploit was identified at time of analysis, and the issue is fixed in 2.5.3.
Authenticated members of a NervesHub organization who hold only the low-privileged 'view' role can still change devices and deployment groups in versions 1.0.0 through 2.5.2, because a set of Phoenix LiveView event handlers execute without calling authorized!/2 and the dashboard renders the manage-only controls to every member. A view member can upload a self-signed device certificate (allowing whoever holds the matching private key to connect as that device), delete a device certificate so the device can no longer authenticate, add or remove tags, overwrite or clear a device's manual location, move devices in or out of deployment groups (thereby changing which firmware release they receive), import devices from a CSV, and start, retry or delete firmware delta builds; since 2.5.0 they can additionally read up to three days of recorded local shell output from the Data History tab when the local shell extension is enabled and ClickHouse analytics are configured. All changes remain confined to organizations and products the member already belongs to. No public exploit identified at time of analysis; CISA KEV does not list this issue.
Removed or demoted members of a NervesHub organization keep acting at their previous role through dashboard pages, device consoles, local shells and device event streams they already had open, because NervesHubWeb reads the role once at page mount (the :assign_org_to_scope hook in NervesHubWeb.Auth) and once at channel join, and nothing revalidates it after a membership change. Versions 1.0.0 through 2.5.2 are affected; 2.5.3 fixes it by broadcasting membership changes, re-mounting open pages, re-running channel join checks, and replacing the dashboard's 24-hour Phoenix.Token with session-cookie authentication whose socket id is scoped to the session so sign-out closes it. Exploitation requires an already-authenticated org member (PR:L) with an open page or console at the moment of removal or demotion, or possession of a console token lifted from such a page, and it grants nothing beyond what the user could already do at the time; there is no confirmed active exploitation, a step-by-step proof-of-concept reproduction is published in the vendor advisory, the vendor rates the issue low (CVSS 4.0 base 2.3), and the risk-signal decision is monitor.