Horizon Alert
Summary of the vulnerability and why it matters
A vulnerability in the Node.js web service of Versa Operating System could allow an unauthenticated attacker to execute arbitrary shell commands. This service is used for initial device provisioning and is recommended to be disabled after setup. If the service remains active, an attacker could potentially compromise the device.
- An unauthenticated attacker can run commands on the device.
- This affects devices where the provisioning service is still active.
- Confirm if the provisioning service is disabled on your appliances.
Attack Path
How an attacker could exploit the issue
An attacker can exploit this vulnerability by first obtaining a CSRF token through an unauthenticated page load, which provides them with the necessary access to interact with the Node.js web service. This service, used for initial device provisioning, exposes an /authenticate endpoint. By injecting a newline character into the username field, the attacker can bypass a sanitizer and trick the system into executing arbitrary shell commands as the operating system's service user, potentially leading to a complete compromise of the device.
- Entry condition: Attacker obtains CSRF token.
- Trigger point: Inject newline into username at /authenticate.
- Resulting risk: Arbitrary command execution.
Live Threat
Current exploitation, exposure, and threat context
The Node.js web service, used for initial device provisioning, could allow an attacker to execute arbitrary shell commands on the VOS appliance. This is possible when the service is enabled and the attacker can obtain a CSRF token, which may be accessible from an unauthenticated page load.
- System commands on VOS appliance.
- Injecting newline into username field.
- Unauthorized command execution as service user.
Operational Fix
Recommended remediation, mitigation, and detection steps
The Node.js web service on VOS appliances, used for initial Zero Touch Provisioning, presents a critical risk if not disabled post-setup. System and infrastructure owners must identify these services, confirm their reachability and business criticality, and then plan remediation.
- Identify VOS appliances with active ZTP services.
- Verify if Node.js web service is disabled.
- Remediate or disable Node.js service risk.