CVE-2022-38254
Published: 07 September 2022
Summary
CVE-2022-38254 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Nagios Nagios Xi. Its CVSS base score is 6.1 (Medium).
Operationally, ranked in the top 3.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
Nagios XI versions prior to 5.8.7 contain a cross-site scripting vulnerability tracked as CVE-2022-38254 and assigned CWE-79. The flaw resides in the ajax.php script within the CCM component at version 3.1.5 and carries a CVSS 3.1 base score of 6.1 reflecting network attack vector, low complexity, no required privileges, and required user interaction with changed scope.
An unauthenticated remote attacker can supply crafted input that is reflected or stored through ajax.php, causing arbitrary script execution in the context of another user’s browser session. Successful exploitation can result in limited disclosure or modification of information visible to the victim and may affect resources beyond the initially targeted Nagios XI instance because of the changed scope.
The vendor’s change log for Nagios XI 5.8.7 documents the resolution of this issue, indicating that upgrading to version 5.8.7 or later removes the vulnerable code path. The associated EPSS score has remained at 0.3352 with no material increase observed since disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-40846
Vulnerability details
Nagios XI before v5.8.7 was discovered to contain a cross-site scripting (XSS) vulnerability via the ajax.php script in CCM 3.1.5.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.