GHSA-cqp4-cv7h-7jp5

Suggest an improvement
Source
https://github.com/advisories/GHSA-cqp4-cv7h-7jp5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-cqp4-cv7h-7jp5/GHSA-cqp4-cv7h-7jp5.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-cqp4-cv7h-7jp5
Aliases
Published
2022-05-14T01:09:56Z
Modified
2024-01-02T05:48:40.623247Z
Severity
  • 4.2 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
Jenkins SaltStack Plugin allows attackers to capture credentials with a known credentials ID stored in Jenkins
Details

An exposure of sensitive information vulnerability exists in Jenkins SaltStack Plugin 3.1.6 and earlier in SaltAPIBuilder.java, SaltAPIStep.java. SaltStack Plugin did not perform permission checks on methods implementing form validation. This allowed users with Overall/Read access to Jenkins to connect to an attacker-specified URL using attacker-specified credentials IDs obtained through another method, capturing credentials stored in Jenkins, and to cause Jenkins to submit HTTP requests to attacker-specified URLs. Additionally, these form validation methods did not require POST requests, resulting in a CSRF vulnerability. As of version 3.1.7, these form validation methods require POST requests and Overall/Administer permissions.

Database specific
{
    "nvd_published_at": "2018-08-01T13:29:00Z",
    "cwe_ids": [
        "CWE-352"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-12-12T16:31:10Z"
}
References

Affected packages

Maven / org.jenkins-ci.plugins:saltstack

Package

Name
org.jenkins-ci.plugins:saltstack
View open source insights on deps.dev
Purl
pkg:maven/org.jenkins-ci.plugins/saltstack

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.7

Affected versions

1.*

1.1.3
1.1.6
1.2.0
1.2.1
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.6.0
1.6.1
1.7.0
1.7.1

2.*

2.0.0
2.0.1
2.1.0

3.*

3.0.0
3.1.0
3.1.1
3.1.2
3.1.3
3.1.4
3.1.5
3.1.6

Database specific

{
    "last_known_affected_version_range": "<= 3.1.6"
}