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

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: 490a00463044022058e1043d06426b16ed5871c996da80ea7f58da34b4a056306897440f71c0527b02200a982a8c8f63a401909b2868873cd637a5dba4329344033f12429c175ea364a7:922c64590222798bb761d5b6d8e72950