CVE-2020-2310: Missing permission checks in Jenkins Ansible Plugin allow enumerating credentials IDs

Summary

24/05/2022
Yes i
Moderate
4.3

CVE-2020-2310: Missing permission checks in Jenkins Ansible Plugin allow enumerating credentials IDs. Affects org.jenkins-ci.plugins:ansible versions < 1.1. Fixed in 1.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Jenkins Ansible Plugin is a Maven-based open-source plugin that integrates Ansible with Jenkins, allowing users to execute Ansible playbooks as part of their Jenkins workflows. It provides a convenient way to manage and automate infrastructure deployments. However, versions 1.0 and earlier of the plugin suffer from a vulnerability that allows attackers with Overall/Read permission to enumerate credentials IDs stored in Jenkins. This can be exploited in conjunction with other vulnerabilities to capture sensitive credentials.

Vulnerability Detail

The vulnerability in the Jenkins Ansible Plugin arises from the lack of permission checks in certain form validation methods. As a result, users with Overall/Read permission can enumerate credentials IDs, which can then be used to launch further attacks to capture the credentials. The vulnerability has a CVSS score of 4.3, indicating a moderate severity level. It was first published on May 24, 2022, and last modified on April 11, 2023.

How To Fix

Minimum fixed version

1.1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. The recommended solution is to upgrade to the latest version of the Ansible Plugin.

Conclusion

The Jenkins Ansible Plugin is vulnerable to an enumeration of credentials IDs, which can be exploited by attackers with Overall/Read permission. To mitigate this vulnerability, users should upgrade to Ansible Plugin version 1.1 or later. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.jenkins-ci.plugins:ansible →

Share this vulnerability

FAQ

The vulnerability allows attackers with Overall/Read permission to enumerate credentials IDs stored in Jenkins. This can be used as part of an attack to capture sensitive credentials.

Versions 1.0 and earlier of the Ansible Plugin are affected by this vulnerability.

Attackers need Overall/Read permission in Jenkins to exploit this vulnerability.

Yes, the vulnerability has been fixed in Ansible Plugin version 1.1.

The vulnerability has a CVSS score of 4.3, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.plugins:ansible.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

1.1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback