CVE-2023-0871: OpenNMS Horizon XXE Injection Vulnerability
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.09705%
CWE
Published
8/11/2023
Updated
11/11/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| org.opennms.core:org.opennms.core.xml | maven | >= 31.0.8, < 32.0.2 | 32.0.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper XML parsing configuration in JaxbUtils.java. The commit diff shows the vulnerable version had SAX feature flags for external entities (external-general-entities and external-parameter-entities) set to false ONLY when disableDOCTYPE=true. This meant when disableDOCTYPE=false (the default in some contexts), external entities could be processed. The patch moved these security-critical feature disables outside the conditional block, ensuring they're always disabled regardless of doctype handling - directly addressing the XXE vulnerability through proper feature configuration.