REDHAT-BUG-1333378: Medium severity Foreman Smart Proxy vulnerability
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
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Disable the TFTP module if it is not needed.
Smart Proxy TFTP module enabled = false - Compensating control
Require client SSL certificates and enforce access to a configured list of trusted hosts for the Smart Proxy service.