CVE-2023-46654
Jenkins CloudBees CD Plugin vulnerable to arbitrary file deletion
Auswirkung
In Jenkins CloudBees CD Plugin, artifacts that were previously copied from an agent to the controller are deleted after publishing by the 'CloudBees CD - Publish Artifact' post-build step. CloudBees CD Plugin 1.1.32 and earlier follows symbolic links to locations outside of the expected directory during this cleanup process. This allows attackers able to configure jobs to delete arbitrary files on the Jenkins controller file system. CloudBees CD Plugin 1.1.33 deletes symbolic links without following them.
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:electricflow | < 1.1.33 | 1.1.33 |
Betroffene Produkte · Jenkins
| Produkt | Betroffene Versionen |
|---|---|
| Cloudbees Cd | bis einschließlich 1.1.32 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- http://www.openwall.com/lists/oss-security/2023/10/25/2
- https://www.jenkins.io/security/advisory/2023-10-25/#SECURITY-3237
- https://github.com/advisories/GHSA-jx7x-rf3f-j644
- https://nvd.nist.gov/vuln/detail/CVE-2023-46654
- https://github.com/jenkinsci/electricflow-plugin/commit/e45ca8428ae45f45ca07611e802eaa0f1484ab50