OpenNMS XML collector XXE allows arbitrary file read from the OpenNMS host
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 XML External Entity (XXE) vulnerability exists in the XML collector of multiple versions of OpenNMS Meridian and Horizon. When OpenNMS collects XML from a source whose response is attacker-controlled (for example a compromised monitored host or an HTTP man-in-the-middle position), the collector's XML parser resolves external entities and external DTDs. This allows an attacker to read files accessible to the OpenNMS service account, including database credentials, and to induce out-of-band requests.