GitHub Advisoryadvisory · Maven

GHSA-jrqh-c9v8-ccx9 Path traversal in Jenkins build-publisher Plugin

MEDIUM Published 2022-09-22 Modified 2022-12-06 Official page ↗
Aliases
CVE-2022-41231
Ecosystem
Maven
Packages
org.jenkins-ci.plugins:build-publisher
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
Weaknesses
CWE-22
Reviewed
2022-12-06

Affected packages

• Maven org.jenkins-ci.plugins:build-publisher: <= 1.22 (no fix yet)

Description

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.

Related

Alias · CVE (1)

  • CVE-2022-41231 Jenkins Build-Publisher Plugin 1.22 and earlier allows attackers with Item/Configure permission to create or replace any config.xml file on… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References