CVE-2020-2141: CSRF vulnerability in Jenkins P4 Plugin
4.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.61567%
CWE
Published
5/24/2022
Updated
12/13/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.jenkins-ci.plugins:p4 | maven | < 1.10.11 | 1.10.11 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from endpoints that 1) accepted GET requests (lack of @POST annotations) and 2) had insufficient permission checks. The commit adds @POST verb restrictions, switches forms to POST, and implements Item.BUILD
permission checks - all classic CSRF fixes. The affected methods handle build triggering and label creation operations, which matches the vulnerability description of attackers being able to 'trigger builds or add labels' via CSRF.