CVE-2018-0122 Command injection in Cisco StarOS for Cisco ASR 5000 Series Aggregation Services Routers

Medium 4.4 Published Updated

An authenticated local attacker can inject commands to overwrite arbitrary files in flash memory on Cisco ASR 5000 routers.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-0122?

CVE-2018-0122 is a medium-severity command injection vulnerability in Cisco StarOS for Cisco ASR 5000 Series Aggregation Services Routers, published on 8 Feb 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability in the CLI of the Cisco StarOS operating system for Cisco ASR 5000 Series Aggregation Services Routers could allow an authenticated, local attacker to overwrite system files that are stored in the flash memory of an affected system. The vulnerability is due to insufficient validation of user-supplied input by the affected operating system. An attacker could exploit this vulnerability by injecting crafted command arguments into a vulnerable CLI command for the affected operating system. A successful exploit could allow the attacker to overwrite or modify arbitrary files that are stored in the flash memory of an affected system. To exploit this vulnerability, the attacker would need to authenticate to an affected system by using valid administrator credentials. Cisco Bug IDs: CSCvf93335.

Weakness: CWE-78, CWE-20

Which versions are affected by CVE-2018-0122?

It affects 1 product.

Products include Cisco Staros.

How do I fix CVE-2018-0122?

No fix has been published for CVE-2018-0122 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-2018-0122 being exploited?

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

Sources

Also known as GHSA-vrq7-hq3r-99cx.

Is CVE-2018-0122 in your software?

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

Check your SBOMs for free