{"schemaVersion":3,"id":"CVE-2023-40315","aliases":["GHSA-hf5p-f83x-5q2g"],"status":"published","duplicateOf":null,"title":"ROLE_FILESYSTEM_EDITOR Can Be Used To Escalate To ROLE_ADMIN","description":"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.","dates":{"published":"2023-08-17T19:04:01.437Z","modified":"2024-10-28T19:17:45.325Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:L","exploitability":1.3,"impact":7.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8,"severity":"high","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0285,"percentile":0.86611,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.0285},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.0285,"percentile":0.86611}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.0285,"percentile":0.86611}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"MSF_EXPLOIT_LINUX_HTTP_OPENNMS_HORIZON_AUTHENTICATED_RCE","name":"OpenNMS Horizon Authenticated RCE","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/linux/http/opennms_horizon_authenticated_rce.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":true,"exploitdb":null,"metasploit":{"fullname":"exploit/linux/http/opennms_horizon_authenticated_rce","rank":"600","rankName":"excellent","postAuth":true,"check":true,"stability":["crash-safe"],"sideEffects":["artifacts-on-disk","ioc-in-logs"],"reliability":["repeatable-session"]}}],"exploitCount":1,"weaknesses":[{"id":"CWE-863","name":"Incorrect Authorization","description":"The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/863.html"}],"affected":[{"vendor":"org.opennms","product":"opennms-webapp-rest","name":"org.opennms:opennms-webapp-rest","label":"opennms-webapp-rest","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.opennms/opennms-webapp-rest","purlType":"maven","versions":[{"text":"≥ 31.0.8, < 32.0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 31.0.8, < 32.0.2","eol":null,"hubHref":null},{"vendor":"opennms","product":"horizon","name":"horizon","label":"horizon","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 31.0.8, < 32.0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 31.0.8, < 32.0.2","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"horizon","label":"Omnissa Horizon","category":"app"}},"hubHref":"/vendor/opennms/horizon"},{"vendor":"opennms","product":"meridian","name":"meridian","label":"meridian","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2023.0.0, < 2023.1.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2023.0.0, < 2023.1.5","eol":null,"hubHref":"/vendor/opennms/meridian"},{"vendor":"the opennms group","product":"horizon","name":"Horizon","label":"horizon","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 31.0.8, < 32.0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 31.0.8, < 32.0.2","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"horizon","label":"Omnissa Horizon","category":"app"}},"hubHref":"/vendor/the_opennms_group/horizon"},{"vendor":"the opennms group","product":"meridian","name":"Meridian","label":"meridian","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2023.0.0, < 2023.1.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2023.0.0, < 2023.1.5","eol":null,"hubHref":"/vendor/the_opennms_group/meridian"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/OpenNMS/opennms/pull/6250","label":"github.com/OpenNMS/opennms/pull/6250","hostname":"github.com","tags":["WEB","Patch"]},{"url":"https://docs.opennms.com/meridian/2023/releasenotes/changelog.html#releasenotes-changelog-Meridian-2023.1.5","label":"docs.opennms.com/meridian/2023/releasenotes/changelog.html","hostname":"docs.opennms.com","tags":["WEB","Release Notes"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40315","label":"nvd.nist.gov/vuln/detail/CVE-2023-40315","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/OpenNMS/opennms/commit/f2caf7d0b9db58b59e98506490aaca37fbf243b6","label":"github.com/OpenNMS/opennms/commit/f2caf7d0b9db58b59e98506490aaca37fbf243b6","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/OpenNMS/opennms","label":"github.com/OpenNMS/opennms","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-08-17T19:04:01.437Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-10-28T19:17:45.325Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":43,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T19:43:45.513Z","stale":false,"partial":false}}