id: dbgate-panel

info:
  name: DbGate Web Client Management - Panel Detect
  author: h0j3n
  severity: info
  description: |
    The DbGate Web Client Management Panel is detected on the target system.
  reference:
    - https://github.com/dbgate/dbgate
  classification:
    cwe-id: CWE-200
  metadata:
    max-request: 1
    shodan-query: http.favicon.hash:1198579728
  tags: panel,dbgate,oss

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers:
      - type: word
        part: body
        words:
          - "<title>DbGate</title>"
          - "starting_dbgate_zero"
          - "Loading DbGate App"
          - "DbGate - web based opensource database administration tool for MS SQL, MySQL, Postgre SQL"
        condition: or
# digest: 4a0a0047304502210090e1a48e885cb4a0a9e7931f83ad369dcc5b7335486f86fbcb5f5dafd193b72402205fa9703d78b492ae2b35de33dd4c1a726244c4436b964a1b84018845c6174ae6:922c64590222798bb761d5b6d8e72950