id: sage-panel

info:
  name: Sage X3 Login Panel - Detect
  author: pikpikcu,daffainfo
  severity: info
  description: Sage X3 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:sage:x3:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    product: x3
    shodan-query: http.title:"Sage X3"
    vendor: sage
  tags: panel,sage,login

http:
  - method: GET
    path:
      - "{{BaseURL}}/auth/login/page"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>Sage  X3</title>"
          - "'/auth/sage-id/registerStart'"
        condition: and

      - type: status
        status:
          - 200
# digest: 490a004630440220642518df8ec0686f2f903fff7555ef26f4b03dad1ecd459cc234b4424f609cbc0220547bb5ad45ee7881e9d5fad0cc81c40b416ca54f4f5c7f8d3bcd7f7a1cf776b3:922c64590222798bb761d5b6d8e72950