8.8
HIGH CVSS 3.1
CVE-2022-30958
Jenkins SSH Plugin CSRF Credential Exposure
Description

A cross-site request forgery (CSRF) vulnerability in Jenkins SSH Plugin 2.6.1 and earlier allows attackers to connect to an attacker-specified SSH server using attacker-specified credentials IDs obtained through another method, capturing credentials stored in Jenkins.

INFO

Published Date :

May 17, 2022, 3:15 p.m.

Last Modified :

Nov. 21, 2024, 7:03 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2022-30958 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Jenkins ssh
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.1 HIGH [email protected]
Solution
A cross-site request forgery vulnerability exists in the Jenkins SSH Plugin.
  • Upgrade Jenkins to version 2.303.30.0.13, 2.332.3.4, or later.
  • Update the listed plugins to the specified versions or later: Application Detector Plugin, Blue Ocean Plugin, Git Plugin, GitLab Plugin, Mercurial Plugin, Multiselect parameter Plugin, Pipeline SCM API for Blue Ocean Plugin, Pipeline: Groovy Plugin, REPO Plugin, Rundeck Plugin, Script Security Plugin, WMI Windows Agents Plugin.
  • See vendor advisory for other plugin updates.
Public PoC/Exploit Available at Github

CVE-2022-30958 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-30958.

URL Resource
https://www.jenkins.io/security/advisory/2022-05-17/#SECURITY-2093 Vendor Advisory
https://www.jenkins.io/security/advisory/2022-05-17/#SECURITY-2093 Vendor Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-30958 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-30958 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Jenkins in docker-compose.yml

Dockerfile Shell

Updated: 1 year, 2 months ago
0 stars 0 fork 0 watcher
Born at : Aug. 10, 2023, 10:46 a.m. This repo has been linked 3 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-30958 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-30958 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://www.jenkins.io/security/advisory/2022-05-17/#SECURITY-2093
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Nov. 03, 2023

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Oct. 25, 2023

    Action Type Old Value New Value
    Removed CWE Jenkins Project CWE-352
  • Initial Analysis by [email protected]

    May. 25, 2022

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type https://www.jenkins.io/security/advisory/2022-05-17/#SECURITY-2093 No Types Assigned https://www.jenkins.io/security/advisory/2022-05-17/#SECURITY-2093 Vendor Advisory
    Added CWE NIST CWE-352
    Added CPE Configuration OR *cpe:2.3:a:jenkins:ssh:*:*:*:*:*:jenkins:*:* versions up to (including) 2.6.1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 8.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 6.8
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.07 }} -0.02%

score

0.21288

percentile