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,discovery

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