id: sapfiori-panel

info:
  name: SAP Fiori Login Panel - Detect
  author: righettod
  severity: info
  description: SAP Fiori 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:sap:fiori:*:*:*:*:erp_hcm:*:*:*
  metadata:
    max-request: 2
    vendor: sap
    product: fiori
  tags: panel,sap,fiori,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/fiori"
      - "{{BaseURL}}/irj/portal/fiori"

    matchers-condition: or
    matchers:
      - type: word
        words:
          - 'fioriLogin'
          - 'action="/fiori"'
        part: body
        condition: and

      - type: word
        words:
          - "UIPPortalPath"
          - "/irj/portal/fiori"
        part: body
        condition: and
# digest: 490a0046304402207625e38e515cbeac1b9d90feab562d6616df0fada27eec7a3401769a480eb9f7022076f0a3999563ff1a93051facc68a08623f26b1698e4cd76175b5498b79d1b1a6:922c64590222798bb761d5b6d8e72950