CVE-2023-40315 json
ROLE_FILESYSTEM_EDITOR Can Be Used To Escalate To ROLE_ADMIN
published 2023-08-17 3 y ago modified 2026-06-17 4 mo ago also GHSA-hf5p-f83x-5q2g , EUVD-2023-2300
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.9%
- EPSS 2.9% chance of exploitation in 30 days, percentile 86%
- public exploits
- 1
- Metasploit
Summary
In OpenMNS Horizon 31.0.8 and versions earlier than 32.0.2 and related Meridian versions, any user that has the ROLE_FILESYSTEM_EDITOR can easily escalate their privileges to ROLE_ADMIN or any other role. The solution is to upgrade to Meridian 2023.1.5 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 Erik Wynter for reporting this issue.
Patch / fix
- maven org.opennms:opennms-webapp-rest 32.0.2
- The OpenNMS Group Horizon 32.0.2
- The OpenNMS Group Meridian 2023.1.5
- github.com/OpenNMS/opennms@f2caf7d commit
- github.com/OpenNMS/opennms#6250 pull request
Timeline
- First public exploit (Metasploit exploit/linux/http/opennms_horizon_authenticated_rce)
- Published
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
2.85% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit exploit/linux/http/opennms_horizon_authenticated_rce OpenNMS Horizon Authenticated RCE metasploit exploit, excellent rank, 2023-07-01
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:L |
| NVD | 3.1 | 8.0 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.opennms:opennms-webapp-rest | >=31.0.8, <32.0.2 |
32.0.2 |
Affected products
- The OpenNMS Group Horizon
- The OpenNMS Group Meridian
Classification
- Weakness
-
- CWE-863 Incorrect Authorization
References
-
github.com
/OpenNMS/opennms/pull/6250
web, patch
-
github.com
/OpenNMS/opennms/commit/f2caf7d0b9db58b59e98506490aaca37fbf243b6
web
-
docs.opennms.com
/meridian/2023/releasenotes/changelog.html#releasenotes-changelog-Meridian-2023.1.5
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2023-40315
advisory
-
github.com
/OpenNMS/opennms
package
Sources
- CVE List CVE-2023-40315
- GitHub Advisory GHSA-hf5p-f83x-5q2g
- NVD CVE-2023-40315
Fencer Vulns 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.