id: sap-public-admin

info:
  name: SAP ICM Admin Web Interface
  author: t3l3machus
  severity: low
  description: The SAP ICM (Internet Communication Manager) admin monitor interface is often set to public and can be accessed without authentication. The interface discloses version information about the underlying operating system, a brief SAP patch level overview, running services including their corresponding ports and more.
  reference:
    - https://www.saptechnicalguru.com/information-disclosure-sap-web-administration-interface/
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"SAP"
  tags: sap,misconfig,admin,dashboard

http:
  - method: GET
    path:
      - "{{BaseURL}}/sap/admin/public/index.html"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>Administration</title>"
          - "sap.ui"
        condition: and

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