OpenMetadata
cpe:2.3:a:open-metadata:openmetadata:*:*:*:*:*:*:*
- <= 1.11.3
A remote code execution vulnerability has been identified in OpenMetadata versions prior to 1.11.4. This issue arises from server-side template injection in FreeMarker email templates, allowing an attacker with administrative privileges to execute arbitrary code. The vulnerability has been patched in version 1.11.4.
Exploitation of this vulnerability allows for remote code execution on the server where OpenMetadata is running, with the executed commands running as the user under which the OpenMetadata server process operates.
To reproduce this vulnerability, first deploy OpenMetadata version 1.11.2. After the application is running, obtain an admin JWT token. Then, identify a target email template and inject a payload that exploits the server-side template injection vulnerability. Once the payload is injected, trigger the email notification that uses the modified template. The injected code will be executed on the server, confirming the exploitation of the vulnerability.
Users can update to OpenMetadata version 1.11.4 or later, where this vulnerability has been patched.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.