Lucene search

K
githubGitHub Advisory DatabaseGHSA-RP4X-XPGF-4XV7
HistoryMay 24, 2022 - 5:19 p.m.

Complete lack of CSRF protection in Jenkins Selenium Plugin can lead to OS command injection

2022-05-2417:19:04
CWE-352
GitHub Advisory Database
github.com
9
csrf protection
jenkins selenium plugin
os command injection
selenium plugin 3.141.59
http endpoints
unauthorized actions

CVSS2

6

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:S/C:P/I:P/A:P

CVSS3

8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

EPSS

0.002

Percentile

51.6%

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 configurations

Vulners
Node
org.jenkinsci.plugins\Matchselenium
VendorProductVersionCPE
org.jenkinsci.plugins\seleniumcpe:2.3:a:org.jenkins:ci.plugins\:selenium:*:*:*:*:*:*:*:*

CVSS2

6

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:S/C:P/I:P/A:P

CVSS3

8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

EPSS

0.002

Percentile

51.6%

Related for GHSA-RP4X-XPGF-4XV7