CVE-2023-28677 Jenkins Convert To Pipeline Plugin vulnerable to command injection
Attackers with Freestyle project configuration access can inject Pipeline script code via the Convert To Pipeline plugin, leading to arbitrary code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-28677?
CVE-2023-28677 is a critical code injection vulnerability in Jenkins Convert To Pipeline Plugin, published on 23 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Jenkins Convert To Pipeline Plugin 1.0 and earlier uses basic string concatenation to convert Freestyle projects' Build Environment, Build Steps, and Post-build Actions to the equivalent Pipeline step invocations, allowing attackers able to configure Freestyle projects to prepare a crafted configuration that injects Pipeline script code into the (unsandboxed) Pipeline resulting from a convertion by Jenkins Convert To Pipeline Plugin.
Weakness: CWE-77
Which versions are affected by CVE-2023-28677?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:convert-to-pipeline. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:convert-to-pipeline Maven | All versions to 1.0 | None |
org.jenkins-ci.plugins:convert-to-pipeline Maven | All versions to 1.0 | None |
Products include Jenkins Convert to Pipeline.
How do I fix CVE-2023-28677?
No fix has been published for CVE-2023-28677 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2023-28677 being exploited?
There is no known exploitation of CVE-2023-28677 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Convert To Pipeline Plugin
Sources
Also known as GHSA-7c44-m589-36w7.