CVE-2017-12785 Command injection in n/a

Critical 9.8 Published Updated

A read-only user can execute privileged root code on NoviSwitch devices via command injection in the CLI.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2017-12785?

CVE-2017-12785 is a critical command injection vulnerability in n/a, published on 22 Aug 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The novish command-line interface, included in the NoviWare software distribution through NW400.2.6 and deployed on NoviSwitch devices, is prone to a buffer overflow in the "show log cli" command. This could be used by a read-only user (monitor role) to gain privileged (root) code execution on the switch via command injection.

Weakness: CWE-119

Which versions are affected by CVE-2017-12785?

It affects 1 product.

Products include Noviflow Noviware.

How do I fix CVE-2017-12785?

No fix has been published for CVE-2017-12785 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2017-12785 being exploited?

There is no known exploitation of CVE-2017-12785 in the wild and no public exploit code.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-vm86-9jrr-2v8f.

Is CVE-2017-12785 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free