CVE-2018-5265 Command injection in n/a

High 7.2 Published Updated

Remote attackers with admin credentials can execute arbitrary code on Ubiquiti EdgeRouter Lite devices via unsanitized parameters in static host mapping.

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

What is CVE-2018-5265?

CVE-2018-5265 is a high-severity command injection vulnerability in n/a, published on 7 Jun 2019. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Ubiquiti EdgeOS 1.9.1 on EdgeRouter Lite devices allows remote attackers to execute arbitrary code with admin credentials, because /opt/vyatta/share/vyatta-cfg/templates/system/static-host-mapping/host-name/node.def does not sanitize the 'alias' or 'ips' parameter for shell metacharacters.

Weakness: CWE-78

Which versions are affected by CVE-2018-5265?

It affects 1 product.

Products include Ui Edgeos.

How do I fix CVE-2018-5265?

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

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

Sources

Also known as GHSA-9vc8-2mjv-r265.

Is CVE-2018-5265 in your software?

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

Check your SBOMs for free