GitHub Advisory Database
GHSA-w8gx-4r6w-3rx9
Jenkins rhnpush-plugin does not perform a permission check in a method implementing form validation
Details
Jenkins rhnpush-plugin Plugin 0.5.1 and earlier does not perform a permission check in a method implementing form validation.
This allows attackers with Item/Read permission but without Item/Workspace or Item/Configure permission to check whether attacker-specified file patterns match workspace contents. A sequence of requests can be used to effectively list workspace contents.
rhnpush-plugin Plugin 0.5.2 requires Item/Workspace permission to validate patterns with workspace contents.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.jenkins-ci.plugins:rhnpush-plugin | All versions before 0.5.2 (fixed in 0.5.2) |