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,discovery

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: 4b0a00483046022100d07300f3b5114b23faff32c9707c0430a3707c8874c6e62082b628b86f0a99920221008e708297a9f08739520f017f454f94d186bbca0f09d1d5bf269ecf82061db9b9:922c64590222798bb761d5b6d8e72950