id: struts-debug-mode

info:
  name: Apache Struts setup in Debug-Mode
  author: pdteam
  severity: low
  description: Apache Struts debug mode is enabled.
  metadata:
    max-request: 1
  tags: logs,struts,apache,exposure,setup

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

    matchers:
      - type: word
        words:
          - "<debug>"
          - "<struts.actionMapping>"
        condition: and
# digest: 4b0a00483046022100ac097ab0f1caa7b3aabc637a96846691567af94fbfcc66fec03f02e410470be8022100a1a20f154bbc34f23a7b5174d37777ef3d9a98a57803880154da85e5f31fc765:922c64590222798bb761d5b6d8e72950