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

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

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

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