CVE-2018-16118 Command injection in n/a

High 8.1 Published Updated

Remote attackers can execute arbitrary OS commands on Sophos XG firewalls via shell metacharacters in the X-Forwarded-for header.

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-2018-16118?

CVE-2018-16118 is a high-severity command injection vulnerability in n/a, published on 20 Jun 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A shell escape vulnerability in /webconsole/APIController in the API Configuration component of Sophos XG firewall 17.0.8 MR-8 allows remote attackers to execute arbitrary OS commands via shell metachracters in the "X-Forwarded-for" HTTP header.

Weakness: CWE-78

Which versions are affected by CVE-2018-16118?

It affects 1 product.

Products include Sophos Sfos.

How do I fix CVE-2018-16118?

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

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

Sources

Also known as GHSA-hv57-j9mh-h2r7.

Is CVE-2018-16118 in your software?

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

Check your SBOMs for free