id: fiorilaunchpad-logon

info:
  name: Fiori Launchpad Login Panel - Detect
  author: dhiyaneshDK
  severity: info
  description: Fiori Launchpad login panel was detected.
  reference:
    - https://www.exploit-db.com/ghdb/6793
  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_launchpad:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: sap
    product: fiori_launchpad
    google-query: sap/bc/ui5_ui5/ui2/ushell/shells/abap/fiorilaunchpad.html -site:sap.com
  tags: panel,edb,sap,discovery

http:
  - method: GET
    path:
      - '{{BaseURL}}/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?saml2=disabled'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "<title>Logon</title>"
          - "fioriLogin"
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100dc3928eff9864b6fae3a1e0cf5d4fd5a144855db296778d97d111796173081040220731aa9c031a4a22e35c9d05cb2d2a62bc671c4e3983fae4e2c901ed6b4ac55b8:922c64590222798bb761d5b6d8e72950