Cross-site WebSocket hijacking vulnerability in the Jenkins CLI
Jenkins Project Jenkins
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.jenkins-ci.main:jenkins-core Maven |
|
|
Original description
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.