CVE-2020-2313: Missing permission checks in Jenkins Azure Key Vault Plugin allow enumerating credentials IDs

Summary

24/05/2022
Yes i
Moderate
4.3

CVE-2020-2313: Missing permission checks in Jenkins Azure Key Vault Plugin allow enumerating credentials IDs. Affects org.jenkins-ci.plugins:azure-keyvault versions < 2.1. Fixed in 2.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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Azure Key Vault Plugin is a plugin for Jenkins, an open-source automation server. It allows users to securely store and retrieve credentials from Azure Key Vault, a cloud-based service for managing cryptographic keys and secrets. The plugin integrates Jenkins with Azure Key Vault, providing a convenient way to manage credentials used in Jenkins jobs. However, versions 2.0 and earlier of the plugin have a vulnerability that allows attackers with Overall/Read permission to enumerate credentials IDs stored in Jenkins. This can be used as part of an attack to capture the credentials using another vulnerability.

Vulnerability Detail

The vulnerability in Azure Key Vault Plugin 2.0 and earlier is due to missing permission checks in several HTTP endpoints. This allows attackers with Overall/Read permission to enumerate credentials IDs of credentials stored in Jenkins. By enumerating the credentials IDs, an attacker can gather information about the stored credentials, which can be used in further attacks to capture the credentials. The vulnerability has a CVSS score of 4.3, indicating a moderate severity level.

How To Fix

Minimum fixed version

2.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 Azure Key Vault Plugin.

Conclusion

The Azure Key Vault Plugin 2.0 and earlier have a vulnerability that allows attackers to enumerate credentials IDs. This can be used as part of an attack to capture the credentials. To fix this vulnerability, it is recommended to upgrade to version 2.1 or later of the plugin. Vulert's playground can be used to check if your application is affected by this vulnerability. For further support on vulnerability remediation, contact DevNack.com.

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

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 the credentials using another vulnerability.

You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using just the pom.xml file.

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

Yes, upgrading to version 2.1 or later of the Azure Key Vault Plugin will fix this vulnerability.

There are no specific workarounds mentioned for this vulnerability. The recommended solution is to upgrade to the latest version of the Azure Key Vault Plugin.

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.plugins:azure-keyvault.

How To Fix

Minimum fixed version

2.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