Code-Server Login Panel - Detect
ID: code-server-login
Severity: info
Author: tess
Tags: panel,detect,misc,coder
Description
Section titled “Description”Code-Server login panel was detected.
YAML Source
Section titled “YAML Source”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: 490a0046304402200681ae642a11b2521a945cc54f7a9fc43c489a95f20c938107388ab81d4fc49c02200a3f31d840d41a0937806dd5735a2313fcc7c8df476eacc621babaa592a1cb20:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/exposed-panels/code-server-login.yaml"