CVE-2016-5402 Code injection in cfme

High 8.8 Published Updated

An authenticated attacker can execute arbitrary code by exploiting a code injection flaw in the capacity and utilization feature of Red Hat CloudForms.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-5402?

CVE-2016-5402 is a high-severity code injection vulnerability in [UNKNOWN] cfme, published on 31 Oct 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A code injection flaw was found in the way capacity and utilization imported control files are processed. A remote, authenticated attacker with access to the capacity and utilization feature could use this flaw to execute arbitrary code as the user CFME runs as.

Weakness: CWE-94

Which versions are affected by CVE-2016-5402?

It affects 2 products.

Linux distribution packages (11)
cfme Red Hat:cloudforms_managementengine:5.6::el7All versions0:5.6.3.3-1.el7cf
cfme-appliance Red Hat:cloudforms_managementengine:5.6::el7All versions0:5.6.3.3-1.el7cf
cfme-appliance-debuginfo Red Hat:cloudforms_managementengine:5.6::el7All versions0:5.6.3.3-1.el7cf
cfme-debuginfo Red Hat:cloudforms_managementengine:5.6::el7All versions0:5.6.3.3-1.el7cf
cfme-gemset Red Hat:cloudforms_managementengine:5.6::el7All versions0:5.6.3.3-1.el7cf
freeipmi Red Hat:cloudforms_managementengine:5.6::el7All versions0:1.5.1-2.el7cf
freeipmi-bmc-watchdog Red Hat:cloudforms_managementengine:5.6::el7All versions0:1.5.1-2.el7cf
freeipmi-debuginfo Red Hat:cloudforms_managementengine:5.6::el7All versions0:1.5.1-2.el7cf
freeipmi-devel Red Hat:cloudforms_managementengine:5.6::el7All versions0:1.5.1-2.el7cf
freeipmi-ipmidetectd Red Hat:cloudforms_managementengine:5.6::el7All versions0:1.5.1-2.el7cf
freeipmi-ipmiseld Red Hat:cloudforms_managementengine:5.6::el7All versions0:1.5.1-2.el7cf

Products include Redhat Cloudforms, Redhat Cloudforms Management Engine.

How do I fix CVE-2016-5402?

Apply the vendor's patch.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2016-5402 being exploited?

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

Sources

Also known as GHSA-6p9p-cwcr-3xj6, RHSA-2016:2839.

Is CVE-2016-5402 in your software?

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

Check your SBOMs for free