CVE-2024-3367
Medium · 6.5CVSS
6.5
EPSS
0.3%
Published
Apr 16, 2024
CISA due date
—
Cloudanix analysis
A monitoring tool used by many organizations lets someone who already has access to the computer run commands that could change important settings without permission.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Data Tampering
- Component
- Application
- Class
- Command Injection
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The vulnerability permits a local attacker to supply a single injected argument to the runmqsc command invoked by the websphere_mq agent plugin, altering command execution without requiring elevated privileges.
Why it matters to the business
Attackers with local access can modify IBM MQ configurations or execute unintended commands, risking integrity of queue manager settings and undermining trust in the monitoring platform across deployments.
How an attack unfolds
A local user on a host running the vulnerable Checkmk agent crafts configuration or input data that reaches the websphere_mq plugin; when the plugin executes runmqsc, the injected argument is processed, allowing the attacker to influence MQSC command behavior.
How to fix it
Upgrade Checkmk installations to version 2.2.0p26 or 2.3.0b5 (or later) to correct the argument handling in the websphere_mq plugin. Until patches can be applied, restrict local access to agent hosts and disable the websphere_mq plugin where feasible.
How to confirm the fix worked
Confirm the running Checkmk version meets or exceeds 2.2.0p26 or 2.3.0b5, then test the websphere_mq plugin with crafted inputs containing additional arguments to verify that only the intended runmqsc invocation occurs.
Typical attack path
- Obtain local shell or file-write access on a system executing the Checkmk agent
- Place or modify input that reaches the websphere_mq plugin
- Trigger agent plugin execution (scheduled or manual)
- Observe or leverage the resulting altered runmqsc behavior
How to detect it
Review Checkmk agent logs and websphere_mq plugin output for unexpected arguments or error messages related to runmqsc; correlate with local user activity on monitored hosts.
- runmqsc.*-
- websphere_mq.*argument
- unexpected argument to runmqsc
What your security team should do
- Apply the fixed Checkmk versions 2.2.0p26 or 2.3.0b5 without delay
- Limit local user accounts and file permissions on systems hosting Checkmk agents
- Disable or remove the websphere_mq plugin if IBM MQ monitoring is not required
The record
Argument injection in websphere_mq agent plugin in Checkmk 2.0.0, 2.1.0, <2.2.0p26 and <2.3.0b5 allows local attacker to inject one argument to runmqsc
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
- CVE-2024-47094 Insertion of Sensitive Information into Log File in Checkmk GmbH's Checkmk versions… Also affects check-mk
- CVE-2024-38863 Exposure of CSRF tokens in query parameters on specific requests in Checkmk GmbH's… Also affects check-mk
- CVE-2024-38862 Insertion of Sensitive Information into Log File in Checkmk GmbH's Checkmk versions… Also affects check-mk
- CVE-2024-6747 Information leakage in mknotifyd in Checkmk before 2.3.0p18, 2.2.0p36, 2.1.0p49 and in… Also affects check-mk
- CVE-2024-8606 Bypass of two factor authentication in RestAPI in Checkmk < 2.3.0p16 and < 2.2.0p34… Also affects check-mk
- CVE-2024-38860 Improper neutralization of input in Checkmk before versions 2.3.0p16 and 2.2.0p34 allows… Also affects check-mk
- CVE-2024-38858 Improper neutralization of input in Checkmk before version 2.3.0p14 allows attackers to… Also affects check-mk
- CVE-2024-38859 XSS in the view page with the SLA column configured in Checkmk versions prior to… Also affects check-mk