Jenkins 2.217 through 2.441 (both inclusive), LTS 2.222.1 through 2.426.2 (both inclusive) does not perform origin validation of requests made through the CLI WebSocket endpoint, resulting in a cross-site WebSocket hijacking (CSWSH) vulnerability, allowing attackers to execute CLI commands on the Jenkins controller.
No PoCs from references.
- https://github.com/davidmgaviria/CVE2_Jenkins_RCE
- https://github.com/davidmgaviria/davidmgaviria
- https://github.com/fkie-cad/nvd-json-data-feeds
- https://github.com/jenkinsci-cert/SECURITY-3314-3315
- https://github.com/murataydemir/CVE-2024-23897
- https://github.com/nomi-sec/PoC-in-GitHub
- https://github.com/plzheheplztrying/cve_monitor
- https://github.com/tanjiti/sec_profile