id: sap-router-info-leak

info:
  name: SAPRouter - Routing information leak
  author: randomstr1ng
  severity: critical
  description: SAPRouter contains an information leakage vulnerability.
  reference:
    - https://securityforeveryone.com/tools/saprouter-routing-information-leakage-vulnerability-scanner
    - https://support.sap.com/en/tools/connectivity-tools/saprouter.html
  metadata:
    max-request: 1
  tags: network,sap,misconfig,saprouter

tcp:
  - inputs:
      - data: 00000022524f555445525f41444d002802000000000000000000000000000000000000000000
        type: hex

    host:
      - "{{Hostname}}"
    port: 3299
    read-size: 2048

    matchers:
      - type: word
        words:
          - "Routtab"
          - "Working directory"
          - "SAProuter Connection Table"
# digest: 490a0046304402205691157c46ae3bafb3754373aad89391ee2bad75adb7f3869c39c46eb0b9b52b022006db1b59b832688e15ebbcebf0bd864426d7a02b902dba05597c24a4808b0e05:922c64590222798bb761d5b6d8e72950