CVE-2022-28108 Selenium Server (Grid) CSRF
Attackers can perform cross-site request forgery against Selenium Grid by exploiting its acceptance of non-JSON content types.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-28108?
CVE-2022-28108 is a high-severity vulnerability in n/a, published on 19 Apr 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Selenium Server (Grid) before 4 allows CSRF because it permits non-JSON content types such as application/x-www-form-urlencoded, multipart/form-data, and text/plain.
Weakness: CWE-352
Which versions are affected by CVE-2022-28108?
5 open source packages ship an affected version, including org.seleniumhq.selenium:selenium-grid, org.seleniumhq.selenium:selenium-server and selenium. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.seleniumhq.selenium:selenium-grid Maven | All versions | 4.0.0-alpha-7 |
org.seleniumhq.selenium:selenium-grid Maven | All versions | 4.0.0-alpha-7 |
org.seleniumhq.selenium:selenium-server Maven | All versions to 4.0.0-alpha-2 | None |
org.seleniumhq.selenium:selenium-server Maven | All versions to 4.0.0-alpha-2 | None |
selenium PyPI | All versions | 4.0.0 |
Products include Selenium Selenium Grid.
How do I fix CVE-2022-28108?
Upgrade org.seleniumhq.selenium:selenium-grid to 4.0.0-alpha-7 or later.
Is CVE-2022-28108 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-28108 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in n/a
Sources
Also known as GHSA-h2rr-m97p-6jq9, PYSEC-2022-43167.