CVE-2020-2286 Improper authorization due to caching in Jenkins Role-based Authorization Strategy Plugin
Attackers can retain outdated permissions after configuration changes due to improper cache invalidation in the Jenkins Role-based Authorization Strategy Plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-2286?
CVE-2020-2286 is a high-severity missing authorization vulnerability in Jenkins Role-based Authorization Strategy Plugin, published on 8 Oct 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Jenkins Role-based Authorization Strategy Plugin 3.0 and earlier does not properly invalidate a permission cache when the configuration is changed, resulting in permissions being granted based on an outdated configuration.
Which versions are affected by CVE-2020-2286?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:role-strategy. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:role-strategy Maven | From 2.12 | 3.1 |
org.jenkins-ci.plugins:role-strategy Maven | From 2.12 | 3.1 |
Products include Jenkins Role-Based Authorization Strategy.
How do I fix CVE-2020-2286?
Upgrade org.jenkins-ci.plugins:role-strategy to 3.1 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2020-2286 being exploited?
There is no known exploitation of CVE-2020-2286 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Role-based Authorization Strategy Plugin
- CVE-2023-28668 Jenkins Role-based Authorization Strategy Plugin grants permissions even after they’ve been disabled
- CVE-2017-1000090 CSRF vulnerability in Jenkins Role-based Authorization Strategy Plugin configuration
- CVE-2021-21624 Incorrect permission checks in Jenkins Role-based Authorization Strategy Plugin may allow accessing some items
Sources
Also known as GHSA-25g4-p347-x748.