id: beego-admin-dashboard

info:
  name: Beego Admin Dashboard Panel- Detect
  author: DhiyaneshDk
  severity: medium
  description: Beego Admin Dashboard panel was detected.
  reference:
    - https://github.com/beego
    - https://twitter.com/shaybt12/status/1584112903577567234/photo/1
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cwe-id: CWE-200
    cpe: cpe:2.3:a:beego:beego:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: beego
    product: beego
    shodan-query:
      - html:"Beego Admin Dashboard"
      - http.html:"beego admin dashboard"
    fofa-query: body="beego admin dashboard"
  tags: panel,beego,unauth,discovery

http:
  - method: GET
    path:
      - '{{BaseURL}}/listconf?command=conf'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Welcome to Beego Admin Dashboard'
          - 'Configurations'
        condition: and

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 200
# digest: 490a00463044022053960ae54bd33a33453e9b9d4fbced83cee5ccc2caf20c85227f4fa0cad1e920022050ca2eb0ca2ea9b87a2c60ab80e56cd5c98a444485ba3cbdf626bec852919ba1:922c64590222798bb761d5b6d8e72950