jenkinsci/support-core-plugin · Security

Jenkins Support Core Plugin allowed users with Overall/Read permission to delete arbitrary files

GHSA ID
GHSA-2cxg-448h-4wxj
CVE ID
CVE-2019-16540
Severity
high
Published
Updated
CVSS
7.1 · CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
CVSS v3
7.1 · CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L

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.

CWEs

References