id: nocodb-panel

info:
  name: NocoDB Panel - Detect
  author: userdehghani
  severity: info
  description: |
    NocoDB Login panel was discovered.
  reference:
    - https://www.nocodb.com/
    - https://docs.nocodb.com/
  classification:
    cpe: cpe:2.3:a:xgenecloud:nocodb:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: xgenecloud
    product: nocodb
    shodan-query: "http.favicon.hash:206985584"
  tags: panel,nocodb,login,detect

http:
  - method: GET
    path:
      - "{{BaseURL}}/dashboard/#/signin"
      - "{{BaseURL}}/dashboard/favicon.ico"

    stop-at-first-match: true

    matchers-condition: or
    matchers:
      - type: word
        part: body
        words:
          - 'content="NocoDB'
        case-insensitive: true

      - type: dsl
        dsl:
          - "status_code==200 && (\"206985584\" == mmh3(base64_py(body)))"
# digest: 4b0a00483046022100e185af2c57d5c5217c3de02f84218fc305e7fbda1cefd6d655758c33a67a5a9d022100c8649d6eb9d278de0fc5496b0c5524bc8ba61ce58f56163611a57f69629f7dae:922c64590222798bb761d5b6d8e72950