Missing Authorization in Jenkins XPath Configuration Viewer Plugin
Date: 2022-07
Affected: maven/org.jenkins-ci.plugins:xpath-config-viewer
Attack vector: auth-bypass
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2022-34786
CVE-2022-34788
CVE-2022-34793
CVE-2022-34794
CVE-2022-34803
CVE-2022-34811
CWE: CWE-256
CWE-522
CWE-611
CWE-79
CWE-862
CVSS: 4.3 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N)

XPath Configuration Viewer Plugin 1.1.1 and earlier does not perform a permission check in an HTTP endpoint. This allows attackers with Overall/Read permission to access the XPath Configuration Viewer page. Given appropriate XPath expressions, this page grants access to job configuration XML data to every user with Item/Read permission. The encrypted values of secrets stored in the job configuration are not redacted, as they would be by the config.xml API for users without Item/Configure permission.


Mitigations:

Architectural layers (MAESTRO):