Search covers the description text, product and vendor names and weakness types (also partial words).
This vulnerability can be exploited remotely over the network, without logging in, if a user clicks a link, opens a file or similar.
A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.
The impact can spread beyond the vulnerable component.
Weakness type: OS command injection.
After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.
The Node.js web service on VOS (previously Versa FlexVNF) is used for URL-based Zero Touch Provisioning (ZTP) of the VOS appliance and is not required after provisioning is complete. The /authenticate endpoint of this service passes user-supplied username and password values to child_process.exec() through a sanitizer (escapeRegExp) that removes regular expression metacharacters but not newline characters. An unauthenticated attacker can inject a newline character into the username field to execute arbitrary shell commands as the versa OS service user. No credentials are required; the attacker needs only a CSRF token, which can be obtained from an unauthenticated page load.
Versa’s security hardening guide for Hubs, Branches, and Controllers recommends disabling the Node.js web service after the initial provisioning of the VOS device. This vulnerability is not exploitable on VOS devices where the Node.js web service has been disabled.
Weakness: CWE-78 – OS command injection
| Vendor | Product | Versions |
|---|---|---|
| versa-networks | versa operating system | >=21.1.1 <=21.2.3 |
| versa-networks | versa operating system | >=23.1.0 <23.1.2 |
| versa-networks | versa operating system | 22.1.2 |
| versa-networks | versa operating system | 22.1.3 |
| versa-networks | versa operating system | 22.1.4 |
| versa-networks | versa operating system | 23.1.2 |