Research · Jan 24, 2024 · ZeroDay Catalog
Critical Path Traversal Vulnerability in Jenkins CLI
A path traversal vulnerability in Jenkins CLI allows unauthorized access to sensitive files, posing a significant risk to Jenkins installations.
What changed
A newly identified vulnerability in the Jenkins Command Line Interface (CLI) allows unauthenticated attackers to exploit the system. The issue arises from the CLI command parser's failure to disable a feature that processes an '@' character followed by a file path, leading to the exposure of arbitrary file contents from the Jenkins controller file system.
Who is affected
The vulnerability impacts various versions of Jenkins, specifically Jenkins 2.441 and earlier, as well as LTS 2.426.2 and earlier. Organizations using these versions are at risk of unauthorized file access.
- Jenkins users running versions 2.441 and earlier.
- Organizations utilizing Jenkins LTS 2.426.2 and earlier.
- Developers and DevOps teams relying on Jenkins for CI/CD pipelines.
- Any entity that has implemented Jenkins in their software development lifecycle.
What to do
It is crucial for affected organizations to take immediate action to mitigate the risk posed by this vulnerability. Upgrading to the latest version of Jenkins is strongly recommended to ensure the CLI command parser is secure.
- Upgrade Jenkins to the latest version to eliminate the vulnerability.
- Review access controls and permissions for Jenkins installations.
- Monitor logs for any unauthorized access attempts.
- Implement additional security measures, such as network segmentation, to protect sensitive file systems.