id: axway-api-manager-panel

info:
  name: Axway API Manager Panel - Detect
  author: johnk3r,righettod
  severity: info
  description: Axway API Manager panel was detected.
  reference:
    - https://docs.axway.com/bundle/axway-open-docs/page/docs/index.html
    - https://www.postman.com/api-evangelist/axway/api/06c40de2-3954-4c68-ae10-a7eded330b05
    - https://www.postman.com/api-evangelist/axway/api/ce2ac156-4353-46b9-b148-944ab7721ed6
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.title:"Axway API Manager Login"
  tags: panel,axway,detect,login

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/portal/v1.4/appinfo"
      - "{{BaseURL}}"

    stop-at-first-match: true
    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_any(to_lower(body), "axway api manager login", "vordel/apiportal/app-login")'
        condition: and

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '"productVersion":\s*"([0-9.]+)"'
# digest: 4b0a00483046022100bdb76df7151b11f2bdea9a0d2c97fc9260b0e4ec8a81d75aafeca7e4c898c6d0022100f39b5d75c629f1986fdc2a7ce0f1b1f9a6cd5b6840414268b5e51ea14ab6caa1:922c64590222798bb761d5b6d8e72950