CVE-2016-3728: High severity theforeman foreman vulnerability
Eval injection vulnerability in tftpapi.rb in the TFTP module in the Smart-Proxy in Foreman before 1.10.4 and 1.11.x before 1.11.2 allows remote attackers to execute arbitrary code via the PXE template type portion of the PATHINFO to tftp/.
Other sources
It was reported that TFTP API module in Smart Proxy is vulnerable to remote code execution via "variant" parameter, which is used to instantiate an implementation class using eval() on the user supplemented input.
Service is usually restricted in a default Foreman installation by requiring client SSL certificates and enforcing access to a configured list of trusted hosts, but may also be configured openly. The TFTP module is enabled in default installation, but may be disabled. Affected versions are 0.2 and higher.
Upstream bug:
http://projects.theforeman.org/issues/14931
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Foremanto a version that resolves this vulnerability.Fixed in 1.10.4 - Upgrade
Upgrade
Foremanto a version that resolves this vulnerability.Fixed in 1.11.2 - Configuration
Disable the TFTP module if it is not required
Smart Proxy TFTP module enabled = false
Event History
Frequently Asked Questions
What is the severity of CVE-2016-3728?
CVE-2016-3728 is classified as a critical vulnerability due to its potential for remote code execution.
How do I fix CVE-2016-3728?
To mitigate CVE-2016-3728, upgrade your Foreman installation to version 1.10.4 or 1.11.2 and later.
What software versions are affected by CVE-2016-3728?
CVE-2016-3728 impacts Foreman versions 1.10.0 to 1.10.3 and 1.11.0 to 1.11.1.
What type of attack does CVE-2016-3728 allow?
CVE-2016-3728 allows remote attackers to execute arbitrary code through an Eval injection vulnerability.
Is CVE-2016-3728 easy to exploit?
Yes, CVE-2016-3728 can be easily exploited by sending crafted requests targeting the TFTP module.