GitHub Advisoryadvisory · Maven

GHSA-2cxg-448h-4wxj Jenkins Support Core Plugin allowed users with Overall/Read permission to delete arbitrary files

HIGH Published 2022-05-24 Modified 2023-10-27 Official page ↗
Aliases
CVE-2019-16540
Ecosystem
Maven
Packages
org.jenkins-ci.plugins:support-core
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
Weaknesses
CWE-22
Reviewed
2023-10-27

Affected packages

• Maven org.jenkins-ci.plugins:support-core: < 2.64 → fixed in 2.64

Description

Jenkins Support Core Plugin did not validate the paths submitted for the "Delete Support Bundles" feature. This allowed users to delete arbitrary files on the Jenkins controller file system accessible to the OS user account running Jenkins. Additionally, this endpoint did not perform a permission check, allowing users with Overall/Read permission to delete support bundles, and any arbitrary other file, with a known name/path. Support Core Plugin now only allows the deletion of support bundles and related files listed on the UI through this feature. It also ensures that only users with "Download Bundle" permission are able to delete support bundles.

Related

Alias · CVE (1)

  • CVE-2019-16540 A path traversal vulnerability in Jenkins Support Core Plugin 2.63 and earlier allows attackers with Overall/Read permission to delete… vulnerability

Weakness · CWE (1)

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

References