Cloudanix VulnDB

CVE-2024-28831

Medium · 5.4

CVSS

5.4

EPSS

0.3%

Published

Jun 25, 2024

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in monitoring software lets someone who can enter text trick other users into running unwanted code when they see certain confirmation messages.

Exploitation
Requires User Interaction
Attacker needs
Low Privilege
Complexity
Moderate
Impact
Other
Component
Application
Class
XSS
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Stored cross-site scripting vulnerability allowing injection of arbitrary HTML/JS into user input fields that render in confirmation pop-ups, enabling script execution in other users' browsers with the application's privileges.

Why it matters to the business

Attackers can hijack user sessions, steal monitoring data, or perform unauthorized actions inside the Checkmk console, potentially disrupting infrastructure visibility and operations; low exploit probability reduces immediate urgency but still requires patching.

How an attack unfolds

An authenticated low-privileged user supplies malicious HTML or script content into fields that later appear in confirmation dialogs; when another user triggers the dialog, the injected code executes in their browser context without further interaction.

How to fix it

Upgrade Checkmk to version 2.3.0p7 or 2.2.0p28 or later; if immediate upgrade is not possible, restrict untrusted user input and monitor for suspicious HTML in relevant fields.

How to confirm the fix worked

After upgrade, verify the vulnerable input paths no longer render raw HTML in pop-ups by re-testing with benign script markers; confirm version numbers match or exceed the fixed releases.

Typical attack path

  1. Obtain a low-privileged Checkmk user account
  2. Locate input fields that feed into confirmation pop-ups
  3. Inject crafted HTML/JS payload into the field and save
  4. Wait for or social-engineer a higher-privileged user to view the confirmation dialog
  5. Script executes, performing actions such as cookie theft or API calls

How to detect it

Review web server and application logs for unexpected HTML tags or script elements in fields that populate confirmation dialogs; check browser developer tools or proxy captures for unusual script execution originating from Checkmk pages.

What your security team should do

  • Prioritize upgrade to 2.3.0p7 or 2.2.0p28 within standard change windows given low EPSS and no KEV listing
  • Audit current Checkmk user permissions to limit who can supply data to confirmation-related fields
  • Add web application firewall rules or input sanitization if upgrades are delayed

The record

Stored XSS in some confirmation pop-ups in Checkmk before versions 2.3.0p7 and 2.2.0p28 allows Checkmk users to execute arbitrary scripts by injecting HTML elements into some user input fields that are shown in a confirmation pop-up.

Affected packages

Ecosystem Package Introduced Fixed
Ubuntu:18.04:LTS check-mk 0 No fix
Ubuntu:Pro:16.04:LTS check-mk 0 No fix
Ubuntu:Pro:18.04:LTS check-mk 0 No fix

Related vulnerabilities