43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
id: code-server-login
|
|
|
|
info:
|
|
name: Code-Server Login Panel - Detect
|
|
author: tess
|
|
severity: info
|
|
description: Code-Server login panel was detected.
|
|
classification:
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
|
|
cwe-id: CWE-200
|
|
cpe: cpe:2.3:a:coder:code-server:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: coder
|
|
product: code-server
|
|
shodan-query: http.title:"code-server login"
|
|
fofa-query: title="code-server login"
|
|
google-query: intitle:"code-server login"
|
|
tags: panel,detect,misc,coder
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/login"
|
|
|
|
host-redirects: true
|
|
max-redirects: 2
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "Welcome to code-server"
|
|
- "Please log in below. Check the config file at ~/.config/code-server/config.yaml
|
|
for the password."
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4a0a00473045022100c7ec8d06e7912dde206331a183e86af24fe4ebeff8a386a6b8e1e37b4aed819b0220112d114f12f92d909283bb5b7e3b8226c8502f446c42539a28e1b2a47d3b686c:922c64590222798bb761d5b6d8e72950 |