id: gespage-panel

info:
  name: Gespage Login Panel - Detect
  author: pikpikcu,daffainfo
  severity: info
  description: Gespage login panel was detected.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
    cpe: cpe:2.3:a:gespage:gespage:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    shodan-query: Path=/gespage
    product: gespage
    vendor: gespage
  tags: panel,gespage

http:
  - method: GET
    path:
      - "{{BaseURL}}/gespage/webapp/login.xhtml"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<link rel="stylesheet" href="css/gespage.css" />'
          - '<link rel="stylesheet" href="css/menugrey.css" />'
        condition: and

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '\(Ver: ([0-9._A-Z]+)\)'
# digest: 4b0a00483046022100a5c4b1b24b1d87b3ae6006f5b0b33e80c4f42686c1cefcbc7dbaeb4ffa5bb25c022100f5d4d32f2699faed8caf7791d60fee52daa6105e54f7a9e29af3cde48563e808:922c64590222798bb761d5b6d8e72950