Headline
CVE-2021-32756
ManageIQ is an open-source management platform. In versions prior to jansa-4, kasparov-2, and lasker-1, there is a flaw in the MiqExpression module of ManageIQ where a low privilege user could enter a crafted Ruby string which would be evaluated. Successful exploitation will allow an attacker to execute arbitrary code with root privileges on the host system. There are patches for this issue in releases named jansa-4, kasparov-2, and lasker-1. If possible, restrict users, via RBAC, to only the part of the application that they need access to. While MiqExpression is widely used throughout the product, restricting users can limit the surface of the attack.
Description
A flaw was found in the MiqExpression module of ManageIQ where a low privilege user could enter a crafted Ruby string which would be evaluated. Successful exploitation will allow an attacker to execute arbitrary code with root privileges on the host system.
Mitigation
If possible, restrict users, via RBAC, to only the part of the application that they need access to. While MiqExpression is widely used throughout the product, restricting users can limit the surface of the attack.
At this time there are no workarounds outside of directly patching with the fixed code, so it is recommended to upgrade immediately to a patched version.
Acknowledgements
ManageIQ would like to thank Jason Frey and Gregg Tanzillo for reporting this issue.
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32756
Details
Fixed in jansa-4, kasparov-2, lasker-1