id: apache-struts-showcase

info:
  name: Apache Struts - ShowCase Application Exposure
  author: DhiyaneshDK
  severity: low
  description: Apache Structs ShowCase Application is exposed.
  reference:
    - https://github.com/PortSwigger/j2ee-scan/blob/master/src/main/java/burp/j2ee/issues/impl/ApacheStrutsWebConsole.java
  classification:
    cpe: cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: apache
    product: struts
    shodan-query: title:"Struts2 Showcase"
  tags: apache,struts,showcase,misconfig,exposure,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}'
      - '{{BaseURL}}/struts2-showcase/showcase.action'

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<title>Struts2 Showcase'

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