CVE-2022-36892 Jenkins rhnpush-plugin does not perform a permission check in a method implementing form validation
Attackers with read permissions can bypass authorization checks to inspect workspace file patterns in the Jenkins rhnpush plugin.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-36892?
CVE-2022-36892 is a medium-severity missing authorization vulnerability in Jenkins rhnpush-plugin Plugin, published on 27 Jul 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Jenkins rhnpush-plugin Plugin 0.5.1 and earlier does not perform a permission check in a method implementing form validation, allowing attackers with Item/Read permission but without Item/Workspace or Item/Configure permission to check whether attacker-specified file patterns match workspace contents.
Weakness: CWE-862
Which versions are affected by CVE-2022-36892?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:rhnpush-plugin. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:rhnpush-plugin Maven | All versions | 0.5.2 |
org.jenkins-ci.plugins:rhnpush-plugin Maven | All versions | 0.5.2 |
Products include Jenkins Rhnpush-Plugin.
How do I fix CVE-2022-36892?
Upgrade org.jenkins-ci.plugins:rhnpush-plugin to 0.5.2 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2022-36892 being exploited?
There is no known exploitation of CVE-2022-36892 in the wild and no public exploit code.
Sources
Also known as GHSA-w8gx-4r6w-3rx9.