GHSA-jrqh-c9v8-ccx9

Suggest an improvement
Source
https://github.com/advisories/GHSA-jrqh-c9v8-ccx9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-jrqh-c9v8-ccx9/GHSA-jrqh-c9v8-ccx9.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-jrqh-c9v8-ccx9
Aliases
Published
2022-09-22T00:00:28Z
Modified
2023-11-01T04:59:58.749561Z
Severity
  • 5.7 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N CVSS Calculator
Summary
Path traversal in Jenkins build-publisher Plugin
Details

Jenkins Build-Publisher Plugin 1.22 and earlier allows attackers with Item/Configure permission to create or replace any config.xml file on the Jenkins controller file system by providing a crafted file name to an API endpoint. Additionally, this endpoint does not require POST requests, resulting in a cross-site request forgery (CSRF) vulnerability that allows attackers to replace any config.xml file on the Jenkins controller file system with an empty file.

There is currently no known workaround or fix, and this plugin has been suspended.

Database specific
{
    "nvd_published_at": "2022-09-21T16:15:00Z",
    "github_reviewed_at": "2022-12-06T14:28:30Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-22"
    ]
}
References

Affected packages

Maven / org.jenkins-ci.plugins:build-publisher

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
1.22