CVE-2023-28677: Jenkins Convert To Pipeline - Server-Side Template Injection
- Cve: CVE-2023-28677
- Name: Jenkins Convert To Pipeline - Server-Side Template Injection
- 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.
- Impact: Attackers can inject malicious script code into Pipelines, potentially leading to remote code execution or system compromise.
- Remediation: Update to the latest version of Jenkins Convert To Pipeline Plugin that fixes this issue or apply appropriate security patches.
- Vulnerability type: template_injection
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs to be able to configure Freestyle projects
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00779
- Epss percentile: 0.5684
- Assignee: [email protected]
- Published at: 2023-04-02T21:15:09Z
- Age in days: 1332
- Modified at: 2026-06-17T05:48:32Z
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-28677
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command |
References
| Url | Source | Tags |
|---|---|---|
| https://www.jenkins.io/security/advisory/2023-03-21/#SECURITY-2966 | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| jenkins:convert_to_pipeline | <= 1.0 | no | nvd | /v1/products/jenkins/convert_to_pipeline |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| jenkinsci/convert-to-pipeline-plugin | package | yes | /v1/repositories/jenkinsci/convert-to-pipeline-plugin |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts