GitHub Advisory Database
GHSA-rp4x-xpgf-4xv7
Complete lack of CSRF protection in Jenkins Selenium Plugin can lead to OS command injection
Details
Selenium Plugin 3.141.59 and earlier has no CSRF protection for its HTTP endpoints.
This allows attackers to perform the following actions:
- Restart the Selenium Grid hub.
- Delete or replace the plugin configuration.
- Start, stop, or restart Selenium configurations on specific nodes.
Through carefully chosen configuration parameters, these actions can result in OS command injection on the Jenkins controller.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.jenkins-ci.plugins:selenium | All versions up to and including 3.141.59 |