CVE-2022-43416: Code Injection
Jenkins Katalon Plugin 1.0.32 and earlier implements an agent/controller message that does not limit where it can be executed and allows invoking Katalon with configurable arguments, allowing attackers able to control agent processes to invoke Katalon on the Jenkins controller with attacker-controlled version, install location, and arguments, and attackers additionally able to create files on the Jenkins controller (e.g., attackers with Item/Configure permission could archive artifacts) to invoke arbitrary OS commands.
Other sources
Jenkins Katalon Plugin 1.0.32 and earlier implements an agent/controller message that does not limit where it can be executed and allows invoking Katalon with configurable arguments.
It allows attackers able to control agent processes to invoke Katalon on the Jenkins controller with attacker-controlled version, install location, and arguments. Attackers additionally able to create files on the Jenkins controller (e.g., attackers with Item/Configure permission could archive artifacts) can invoke arbitrary OS commands.
Katalon Plugin 1.0.33 changes the message type to controller-to-agent, preventing execution on the controller.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
maven/org.jenkins-ci.plugins:katalonto a version that resolves this vulnerability.Fixed in 1.0.33 - Upgrade
Upgrade
Jenkins Katalon Pluginto a version that resolves this vulnerability.Fixed in 1.0.33 - Compensating control
If using Jenkins Katalon Plugin versions 1.0.32 or earlier, restrict permissions such as Item/Configure so attackers cannot create files on the Jenkins controller (e.g., to archive artifacts) or otherwise control agent processes that could trigger OS command execution on the controller.
Event History
Frequently Asked Questions
What is CVE-2022-43416?
CVE-2022-43416 is a vulnerability in Jenkins Katalon Plugin 1.0.32 and earlier that allows attackers to execute unauthorized commands on the Jenkins controller.
What is the severity of CVE-2022-43416?
CVE-2022-43416 has a severity rating of 8.8 (high).
How does CVE-2022-43416 impact Jenkins Katalon Plugin?
CVE-2022-43416 allows attackers with control over agent processes to execute Katalon on the Jenkins controller with attacker-controlled arguments.
How can I fix CVE-2022-43416?
To fix CVE-2022-43416, update Jenkins Katalon Plugin to version 1.0.33 or later.
Where can I find more information about CVE-2022-43416?
You can find more information about CVE-2022-43416 on the following references: [1] http://www.openwall.com/lists/oss-security/2022/10/19/3 [2] https://www.jenkins.io/security/advisory/2022-10-19/#SECURITY-2844 [3] https://nvd.nist.gov/vuln/detail/CVE-2022-43416