id: struts-problem-report

info:
  name: Apache Struts Dev Mode - Detect
  author: dhiyaneshDK
  severity: low
  description: Multiple Apache Struts applications were detected in dev-mode.
  reference:
    - https://www.exploit-db.com/ghdb/4278
  metadata:
    max-request: 1
  tags: struts,debug,edb,exposure,apache

http:
  - method: GET
    path:
      - '{{BaseURL}}'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<title>Struts Problem Report</title>'

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