CVE-2022-27198: CSRF vulnerability in Jenkins CloudBees AWS Credentials Plugin

Summary

16/03/2022
No i
High
8.0

CVE-2022-27198: CSRF vulnerability in Jenkins CloudBees AWS Credentials Plugin. Affects org.jenkins-ci.plugins:aws-credentials versions < 189.v3551d5642995. No fix is published. 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 Jenkins CloudBees AWS Credentials Plugin is a plugin for Jenkins, an open-source automation server. This plugin allows users to securely store and manage AWS credentials within Jenkins. It provides a convenient way to connect to AWS services from Jenkins pipelines and jobs. However, versions 189.v3551d5642995 and earlier of the plugin are vulnerable to a cross-site request forgery (CSRF) attack.

Vulnerability Detail

The CSRF vulnerability in the Jenkins CloudBees AWS Credentials Plugin allows attackers with Overall/Read permission to connect to an AWS service using an attacker-specified token. This means that an attacker can perform actions on behalf of a user with Overall/Read permission without their knowledge or consent. The vulnerability can be exploited by tricking a user with Overall/Read permission into visiting a malicious website or clicking on a specially crafted link.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is currently no known workaround for this vulnerability. It is recommended to apply the fix mentioned above by upgrading to a non-vulnerable version of the Jenkins CloudBees AWS Credentials Plugin.

Conclusion

The CSRF vulnerability in the Jenkins CloudBees AWS Credentials Plugin can allow attackers to connect to AWS services using an attacker-specified token. It is recommended to upgrade to a non-vulnerable version of the plugin to mitigate this risk. For further support and assistance with vulnerability remediation, please contact DevNack.com.

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

Share this vulnerability

FAQ

A CSRF vulnerability allows an attacker to perform actions on behalf of a user without their knowledge or consent. It occurs when a website or application does not properly validate or authenticate requests, allowing an attacker to trick a user into performing unintended actions.

The CSRF vulnerability in the Jenkins CloudBees AWS Credentials Plugin allows attackers to connect to an AWS service using an attacker-specified token. This can lead to unauthorized access to AWS resources and potential data breaches or other malicious activities.

Users of the Jenkins CloudBees AWS Credentials Plugin versions 189.v3551d5642995 and earlier are affected by this vulnerability. Specifically, users with Overall/Read permission are at risk of having their AWS credentials compromised.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your Jenkins installation is affected by this vulnerability. Simply enter your Jenkins pom.xml file and the Vulert Playground will analyze it for any open-source vulnerabilities, including this CSRF vulnerability.

For more information about this vulnerability, you can refer to the GitHub advisory database (https://github.com/github/advisory-database) or contact the Jenkins community for support and guidance.

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.plugins:aws-credentials.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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