id: apache-allura-detect

info:
  name: Apache Allura - Detection
  author: icarot
  severity: info
  description: |
    Detects a Apache Allura server, a open source implementation of a software "forge".
  reference:
    - https://allura.apache.org/
  classification:
    cpe: cpe:2.3:a:apache:allura:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: apache
    product: allura
    verified: true
    fofa-query: body="Apache Allura"
  tags: tech,allura,apache,detect

http:
  - method: GET
    path:
      - "{{BaseURL}}/neighborhood"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<title>All Neighborhoods</title>'
          - '>Apache Allura</a>'
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a00473045022031b522efcf6fab3dd2b71c589b8574ebd9434acd72082132b30bd2106cafb0d20221008e7cbaeb8df314764d51c8fb8832dd9dc035501c674f4642d63d114904a835ff:922c64590222798bb761d5b6d8e72950