GHSA-85rq-hp8x-ghjq

Suggest an improvement
Source
https://github.com/advisories/GHSA-85rq-hp8x-ghjq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-85rq-hp8x-ghjq/GHSA-85rq-hp8x-ghjq.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-85rq-hp8x-ghjq
Aliases
Published
2022-01-13T00:01:04Z
Modified
2024-02-16T08:25:04.807132Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N CVSS Calculator
Summary
Cross-Site Request Forgery in Jenkins Mailer Plugin
Details

Jenkins Mailer Plugin prior to 408.vd726a_1130320 and 1.34.2 does not perform a permission check in a method implementing form validation.

This allows attackers with Overall/Read access to use the DNS used by the Jenkins instance to resolve an attacker-specified hostname.

Additionally, this form validation method does not require POST requests, resulting in a cross-site request forgery (CSRF) vulnerability.

Mailer Plugin 408.vd726a_1130320 and 1.34.2 require POST requests and Overall/Administer permission for the affected form validation method.

Database specific
{
    "nvd_published_at": "2022-01-12T20:15:00Z",
    "cwe_ids": [
        "CWE-352"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-06-20T22:50:18Z"
}
References

Affected packages

Maven / org.jenkins-ci.plugins:mailer

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
391.ve4a38c1bcf4b
Fixed
408.vd726a

Affected versions

391.*

391.ve4a_38c1b_cf4b_

Maven / org.jenkins-ci.plugins:mailer

Package

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

Affected ranges

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

Affected versions

1.*

1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9
1.10
1.11
1.12-beta-1
1.12
1.13
1.14
1.15
1.16
1.17
1.18
1.19
1.20
1.21
1.22
1.23-beta-2
1.23
1.24
1.25
1.26
1.27
1.28
1.29
1.29.1
1.30
1.31
1.31.1
1.32
1.32.1
1.33
1.34