id: axway-securetransport-panel

info:
  name: Axway SecureTransport Login Panel - Detect
  author: righettod
  severity: info
  description: |
    AXWAY SecureTransport login panel was detected.
  reference:
    - https://www.axway.com/en/products/managed-file-transfer/securetransport
  classification:
    cvss-metrics: CVSS:3.1/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:axway:securetransport:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: axway
    product: securetransport
    shodan-query:
      - http.title:"SecureTransport" || http.favicon.hash:1330269434
      - http.title:"st web client"
      - http.title:"securetransport" || http.favicon.hash:1330269434
    google-query:
      - intitle:"st web client"
      - intitle:"securetransport" || http.favicon.hash:1330269434
    fofa-query:
      - title="securetransport" || http.favicon.hash:1330269434
      - title="st web client"
  tags: panel,axway,securetransport,discovery

http:
  - method: GET
    path:
      - '{{BaseURL}}'

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<title>Axway SecureTransport'
          - 'alt="Axway SecureTransport"'
          - 'Welcome to SecureTransport'
          - 'PrintServerInfo("SecureTransport'
        condition: or

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '"SecureTransport", "([0-9.]+)",'
# digest: 4a0a00473045022100c1e792b4915d52cd4e25f553a2198eb18801f92378476d82fc149435d55a06fc02205107474c0ccfbe7c306fe53f973fedfaa4e45cc5728998b87839b7c7f4e8cfcf:922c64590222798bb761d5b6d8e72950