{"schemaVersion":3,"id":"CVE-2022-31258","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"In Checkmk before 1.6.0p29, 2.x before 2.0.0p25, and 2.1.x before 2.1.0b10, a site user can escalate to root by editing an OMD hook symlink.","dates":{"published":"2022-05-20T22:02:46.000Z","modified":"2024-08-03T07:11:39.847Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AC:L/AV:L/A:H/C:H/I:H/PR:H/S:C/UI:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.2,"severity":"high","vector":"CVSS:3.1/AC:L/AV:L/A:H/C:H/I:H/PR:H/S:C/UI:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.2,"severity":"high","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00405,"percentile":0.33382,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.006000000000000016,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00399},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00389,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00389,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00389,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00389,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00405,"percentile":0.33382}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00405,"percentile":0.33382}]},"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":[],"exploitCount":0,"weaknesses":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access ('Link Following')","description":"The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/59.html"}],"affected":[{"vendor":"checkmk","product":"checkmk","name":"checkmk","label":"checkmk","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.6.0","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:b1","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:b10","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:b12","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:b3","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:b4","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:b5","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:b9","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:p1","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:p10","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:p11","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:p12","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:p13","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:p14","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:p15","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:p16","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:p19","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:p2","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:p20","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:p21","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:p22","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:p23","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:p24","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:p25","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:p26","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:p27","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:p28","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:p3","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:p4","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:p5","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:p6","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:p7","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:p8","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0:p9","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:b1","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:b2","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:b3","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:b4","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:b5","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:b6","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:b7","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:b8","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:i1","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:p1","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:p10","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:p11","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:p12","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:p13","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:p14","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:p15","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:p16","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:p17","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:p18","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:p19","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:p2","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:p20","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:p21","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:p22","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:p23","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:p24","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:p3","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:p4","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:p5","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:p6","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:p7","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:p8","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:p9","noFixRecorded":false,"fixedIn":null},{"text":"2.1.0:b1","noFixRecorded":false,"fixedIn":null},{"text":"2.1.0:b2","noFixRecorded":false,"fixedIn":null},{"text":"2.1.0:b3","noFixRecorded":false,"fixedIn":null},{"text":"2.1.0:b4","noFixRecorded":false,"fixedIn":null},{"text":"2.1.0:b5","noFixRecorded":false,"fixedIn":null},{"text":"2.1.0:b6","noFixRecorded":false,"fixedIn":null},{"text":"2.1.0:b7","noFixRecorded":false,"fixedIn":null},{"text":"2.1.0:b8","noFixRecorded":false,"fixedIn":null},{"text":"2.1.0:b9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.6.0 | 1.6.0:b1 | 1.6.0:b10 | 1.6.0:b12 | 1.6.0:b3 | 1.6.0:b4 | 1.6.0:b5 | 1.6.0:b9 | 1.6.0:p1 | 1.6.0:p10 | 1.6.0:p11 | 1.6.0:p12 | 1.6.0:p13 | 1.6.0:p14 | 1.6.0:p15 | 1.6.0:p16 | 1.6.0:p19 | 1.6.0:p2 | 1.6.0:p20 | 1.6.0:p21 | 1.6.0:p22 | 1.6.0:p23 | 1.6.0:p24 | 1.6.0:p25 | 1.6.0:p26 | 1.6.0:p27 | 1.6.0:p28 | 1.6.0:p3 | 1.6.0:p4 | 1.6.0:p5 | 1.6.0:p6 | 1.6.0:p7 | 1.6.0:p8 | 1.6.0:p9 | 2.0.0 | 2.0.0:b1 | 2.0.0:b2 | 2.0.0:b3 | 2.0.0:b4 | 2.0.0:b5 | 2.0.0:b6 | 2.0.0:b7 | 2.0.0:b8 | 2.0.0:i1 | 2.0.0:p1 | 2.0.0:p10 | 2.0.0:p11 | 2.0.0:p12 | 2.0.0:p13 | 2.0.0:p14 | 2.0.0:p15 | 2.0.0:p16 | 2.0.0:p17 | 2.0.0:p18 | 2.0.0:p19 | 2.0.0:p2 | 2.0.0:p20 | 2.0.0:p21 | 2.0.0:p22 | 2.0.0:p23 | 2.0.0:p24 | 2.0.0:p3 | 2.0.0:p4 | 2.0.0:p5 | 2.0.0:p6 | 2.0.0:p7 | 2.0.0:p8 | 2.0.0:p9 | 2.1.0:b1 | 2.1.0:b2 | 2.1.0:b3 | 2.1.0:b4 | 2.1.0:b5 | 2.1.0:b6 | 2.1.0:b7 | 2.1.0:b8 | 2.1.0:b9","eol":{"isEol":true,"eolDate":"2023-09-09T00:00:00.000Z","matchMethod":"name_exact","cycle":{"name":"2.0","label":"2.0","eolFrom":"2023-09-09T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"2.0"},"product":{"name":"checkmk","label":"Checkmk","category":"server-app"}},"hubHref":"/vendor/checkmk/checkmk"},{"vendor":"tribe29","product":"checkmk","name":"checkmk","label":"checkmk","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.6.0b10","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0b11","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0p10","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0p11","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0p12","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0p13","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0p14","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0p15","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0p16","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0p17","noFixRecorded":false,"fixedIn":null},{"text":"1.6.0p18","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.6.0b10 | 1.6.0b11 | 1.6.0p10 | 1.6.0p11 | 1.6.0p12 | 1.6.0p13 | 1.6.0p14 | 1.6.0p15 | 1.6.0p16 | 1.6.0p17 | 1.6.0p18","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"checkmk","label":"Checkmk","category":"server-app"}},"hubHref":"/vendor/tribe29/checkmk"}],"affectedCount":2,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://checkmk.com/werk/13902","label":"checkmk.com/werk/13902","hostname":"checkmk.com","tags":["X Refsource MISC","Vendor Advisory"]},{"url":"https://forum.checkmk.com/c/announcements/18","label":"forum.checkmk.com/c/announcements/18","hostname":"forum.checkmk.com","tags":["X Refsource MISC","Release Notes","Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-05-20T22:02:46.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T07:11:39.847Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":33,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T13:53:23.328Z","stale":false,"partial":false}}