CVE-2020-2226
Stored XSS vulnerability in Jenkins Matrix Authorization Strategy Plugin
Auswirkung
Matrix Authorization Strategy Plugin 2.6.1 and earlier does not escape user names shown in the permission table. This results in a stored cross-site scripting (XSS) vulnerability. When using project-based matrix authorization, this vulnerability can be exploited by a user with Job/Configure or Agent/Configure permission, otherwise by users with Overall/Administer permission. Matrix Authorization Strategy Plugin 2.6.2 escapes user names in the permission table.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| maven | org.jenkins-ci.plugins:matrix-auth | <= 2.6.1 | 2.6.2 |
Betroffene Produkte · Jenkins
| Produkt | Betroffene Versionen |
|---|---|
| Matrix Authorization Strategy | bis einschließlich 2.6.1 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- http://www.openwall.com/lists/oss-security/2020/07/15/5
- https://jenkins.io/security/advisory/2020-07-15/#SECURITY-1909
- https://github.com/advisories/GHSA-vr6v-wjfw-rxcr
- https://nvd.nist.gov/vuln/detail/CVE-2020-2226
- https://github.com/jenkinsci/matrix-auth-plugin/commit/e263a2feb47594787952a7e0bd1550e849c58b07