id: twig-runtime-error

info:
  name: Twig Runtime Error - Page
  author: DhiyaneshDk
  severity: info
  metadata:
    max-request: 1
    vendor: twig
    shodan-query: html:"Twig Runtime Error"
  tags: error,twig,log,vuln

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Twig Runtime Error – Twig\Error\RuntimeError'

      - type: status
        status:
          - 500
# digest: 4a0a0047304502204b2b3593c89d6ba9b62d1a9f136ce6c5d3d0e2e60c431849821a35a7ae6d80d10221008a9dfa8ad035cb895329f4683d2ca25b02109e4d981134a0f0291ad4f58999b0:922c64590222798bb761d5b6d8e72950