OpenNMS Meridian and Horizon SSRF in ad-hoc RRD graphs
The OpenNMS Group Meridian · The OpenNMS Group Horizon
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| The OpenNMS Group Meridian |
| No fix yet |
| The OpenNMS Group Horizon |
| No fix yet |
Original description
An argument injection vulnerability exists in the ad-hoc RRD graph feature of multiple versions of OpenNMS Meridian and Horizon. The ad-hoc graph endpoint (GET /graph/graph.png?adhoc=true) copies request parameters into the rrdtool command line without validation. A low-privileged authenticated user (ROLE_USER or ROLE_DASHBOARD) can insert extra rrdtool arguments. An injected --daemon argument makes the server connect to an attacker-chosen address, which is a server-side request forgery. An injected DEF statement reads a local RRD file by absolute path. The command runs through exec with an argument array and no shell, so arbitrary operating system command execution is not possible. The fix validates the ad-hoc graph parameters against allowlists.