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

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: 4a0a00473045022006072d792c7fc083a9dbe1fec7223d7eb5b4031337d19acc94bd9313ed6d8a47022100855bb1e1afb2f3b4637bd2a415f1ba2c8472b5c0b2fcbb775256c65542445a57:922c64590222798bb761d5b6d8e72950