CVE-2023-40311Stored XSS in multiple JSP files in opennms/opennms
Multiple stored XSS were found on different JSP files with unsanitized parameters in OpenMNS Horizon 31.0.8 and versions earlier than 32.0.2 on multiple platforms that allow an attacker to store on database and then load on JSPs or Angular templates. The solution is to upgrade to Meridian 2023.1.6, 2022.1.19, 2021.1.30, 2020.1.38 or Horizon 32.0.2 or newer. Meridian and Horizon installation instructions state that they are intended for installation within an organization's private networks and should not be directly accessible from the Internet. OpenNMS thanks Jordi Miralles Comins for reporting this issue.
What to do
Fixed builds are available from Maven: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Maven library | org.opennms:opennms-webapp | Fixed | 32.0.2 | GHSA-qfw7-pfxx-h9q2 |
What the vendor says
As published in the CVE record by OpenNMS, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- The OpenNMS Group Horizon: affected: 31.0.8 to before 32.0.2; fixed in
32.0.2 - The OpenNMS Group Meridian: affected: 2020.0.0 to 2020.1.37, 2021.0.0 to 2021.1.29, 2022.0.0 to 2022.1.18, 2023.0.0 to 2023.1.5
References
- https://github.com/OpenNMS/opennms
- https://github.com/OpenNMS/opennms/pull/6365
- https://github.com/OpenNMS/opennms/pull/6366
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.