Cross-site Request Forgery (CSRF) Affecting org.jenkins-ci.plugins:fortify package, versions [,22.2.39)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGJENKINSCIPLUGINS-5845100
  • published17 Aug 2023
  • disclosed17 Aug 2023
  • creditKevin Guerroudj, CloudBees, Inc. and, independently, Alvaro Muñoz (@pwntester), GitHub Security Lab

Introduced: 17 Aug 2023

CVE-2023-4301  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade org.jenkins-ci.plugins:fortify to version 22.2.39 or higher.

Overview

org.jenkins-ci.plugins:fortify is a plugin that adds the ability to perform security analysis with Fortify Static Code Analyzer

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) due to missing permission checks in several HTTP endpoints. This allows attackers with Overall/Read permission to connect to an attacker-specified URL using attacker-specified credentials IDs obtained through another method, capturing credentials stored in Jenkins.Additionally, these HTTP endpoints do not require POST requests, resulting in a cross-site request forgery (CSRF) vulnerability.

NOTE: This vulnerability has also been identified as: CVE-2023-4302

CVSS Scores

version 3.1