Merge pull request #4474 from projectdiscovery/selenium-exposure

Create selenium-exposure.yaml
patch-1
Prince Chaddha 2022-05-24 00:55:03 +05:30 committed by GitHub
commit 757eff4a2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,31 @@
id: selenium-exposure
info:
name: Selenium Node exposure
author: w0Tx
severity: high
description: |
If a Selenium Node is exposed without any form of authentication, RCE could be possible if chromium is configured. By default the port is 4444, still, most of the internet facing are done through reverse proxies.
reference:
- https://nutcrackerssecurity.github.io/selenium.html
- https://labs.detectify.com/2017/10/06/guest-blog-dont-leave-your-grid-wide-open/
tags: selenium,misconfiguration,rce,chromium
requests:
- method: GET
path:
- "{{BaseURL}}/wd/hub"
redirects: true
max-redirects: 2
matchers-condition: and
matchers:
- type: word
words:
- 'WebDriverRequest'
- '<title>WebDriver Hub</title>'
condition: or
- type: status
status:
- 200