ghsa-c264-8834-ppj2
Vulnerability from github
Published
2022-05-24 17:19
Modified
2022-12-20 22:15
Severity ?
VLAI Severity ?
Summary
CSRF vulnerability in Jenkins Swarm Plugin
Details
Swarm Plugin adds API endpoints to add or remove agent labels. In Swarm Plugin 3.20 and earlier these only require a global Swarm secret to use, and no regular permission check is performed. This allows users with Agent/Create permission to add or remove labels of any agent.
Additionally, these API endpoints do not require POST requests, resulting in a cross-site request forgery (CSRF) vulnerability.
Swarm Plugin 3.21 requires POST requests and Agent/Configure permission for the affected agent to these endpoints. It no longer uses the global Swarm secret for these API endpoints.
{
"affected": [
{
"package": {
"ecosystem": "Maven",
"name": "org.jenkins-ci.plugins:swarm"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.21"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2020-2192"
],
"database_specific": {
"cwe_ids": [
"CWE-352"
],
"github_reviewed": true,
"github_reviewed_at": "2022-12-20T22:15:47Z",
"nvd_published_at": "2020-06-03T13:15:00Z",
"severity": "MODERATE"
},
"details": "Swarm Plugin adds API endpoints to add or remove agent labels. In Swarm Plugin 3.20 and earlier these only require a global Swarm secret to use, and no regular permission check is performed. This allows users with Agent/Create permission to add or remove labels of any agent.\n\nAdditionally, these API endpoints do not require POST requests, resulting in a cross-site request forgery (CSRF) vulnerability.\n\nSwarm Plugin 3.21 requires POST requests and Agent/Configure permission for the affected agent to these endpoints. It no longer uses the global Swarm secret for these API endpoints.",
"id": "GHSA-c264-8834-ppj2",
"modified": "2022-12-20T22:15:47Z",
"published": "2022-05-24T17:19:05Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-2192"
},
{
"type": "WEB",
"url": "https://github.com/jenkinsci/swarm-plugin/commit/4d18f98b00e4c84b152d52346fb9ef1a227b1cf7"
},
{
"type": "PACKAGE",
"url": "https://github.com/jenkinsci/swarm-plugin"
},
{
"type": "WEB",
"url": "https://jenkins.io/security/advisory/2020-06-03/#SECURITY-1200"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2020/06/03/3"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L",
"type": "CVSS_V3"
}
],
"summary": "CSRF vulnerability in Jenkins Swarm Plugin"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…