nuclei-templates/technologies/tomcat-detect.yaml

29 lines
656 B
YAML

id: tomcat-version-detect
info:
name: Detect Tomcat Version
author: philippedelteil
description: If an Tomcat instance is deployed on the target URL, when we send a request for
a non existent resource we receive a Tomcat error page with version.
severity: info
requests:
- method: GET
path:
- "{{BaseURL}}/something_not_existing_"
matchers-condition: and
matchers:
- type: word
words:
- "Apache Tomcat"
- type: status
status:
- 404
extractors:
- type: regex
part: body
name: version
group: 2
regex:
- '(<h3>)(.*?)(</h3>)'