id: jboss-soa-platform

info:
  name: JBoss SOA Platform Login Panel - Detect
  author: ritikchaddha,righettod
  severity: info
  description: JBoss SOA Platform login panel was detected.
  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:redhat:jboss_soa_platform:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: redhat
    product: jboss_soa_platform
    shodan-query:
      - http.title:"Welcome to the JBoss SOA Platform"
      - http.title:"welcome to the jboss soa platform"
    fofa-query: title="welcome to the jboss soa platform"
    google-query: intitle:"welcome to the jboss soa platform"
  tags: panel,jboss,soa,redhat,detect

http:
  - method: GET
    path:
      - '{{BaseURL}}/css/footer.js'
      - '{{BaseURL}}'

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Welcome to the JBoss SOA Platform'
          - 'JBoss Enterprise SOA Platform: Embedded ESB Server'
        condition: or

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '(?i)Version\s+([A-Z0-9.]+)'
# digest: 4b0a00483046022100ac6d1bf18fd3f8dd7a6fcd3d3b74fa6816313309c5ba69df10a8b365fb4b5710022100ea6f6767ea2afb84ac3d754ed7f4e323048d7823902bdff8ca848817ae3c0f1e:922c64590222798bb761d5b6d8e72950