CVE-2023-40312 json
Reflected XSS in multiple JSP files in opennms/opennms
published 3y ago modified 4mo ago also GHSA-chgr-j2p9-jjh8 , EUVD-2023-2272
- cvss
- 6.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
Summary
Multiple reflected 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 an attacker can modify to craft a malicious XSS payload. 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.
Patch / fix
- maven org.opennms:opennms-webapp 32.0.2
- The OpenNMS Group Horizon 32.0.2
- github.com/OpenNMS/opennms@1365ba9 commit
- github.com/OpenNMS/opennms#6356 pull request
Is CVE-2023-40312 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2y ago
Exploit prediction
0.64% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-15).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.7 | CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
| NVD | 3.1 | 5.2 | CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.7 | CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.opennms:opennms-webapp | >=31.0.8, <32.0.2 |
32.0.2 |
Affected products
- The OpenNMS Group Horizon
- The OpenNMS Group Meridian
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/OpenNMS/opennms/pull/6356
web, patch, vendor-advisory
-
github.com
/OpenNMS/opennms/commit/1365ba9129f1762707fdbf1edd1f3e460bfb31e0
web
-
docs.opennms.com
/horizon/32/releasenotes/changelog.html
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2023-40312
advisory
-
github.com
/OpenNMS/opennms
package
Sources
- CVE List CVE-2023-40312
- GitHub Advisory GHSA-chgr-j2p9-jjh8
- NVD CVE-2023-40312
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.