2021-09-10 11:24:16 +05:30
id : tomcat-detect
2021-09-09 19:08:13 +05:30
2020-09-22 21:26:52 +00:00
info :
2021-12-29 19:10:59 +05:30
name : Tomcat Detection
2023-06-24 17:25:54 -05:00
author : philippedelteil,dhiyaneshDk,AdamCrosser
2020-09-22 21:26:52 +00:00
severity : info
2024-06-07 10:04:29 +00:00
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.
2024-03-26 13:33:04 +05:30
classification :
cpe : cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
2021-12-29 19:10:59 +05:30
metadata :
2023-04-28 13:41:21 +05:30
max-request : 3
2023-06-24 17:25:54 -05:00
vendor : apache
product : tomcat
2024-06-07 10:04:29 +00:00
shodan-query :
2025-05-27 10:39:47 +08:00
- title:"Apache Tomcat"
2024-06-07 10:04:29 +00:00
- http.title:"apache tomcat"
- http.html:"apache tomcat"
- cpe:"cpe:2.3:a:apache:tomcat"
fofa-query :
- body="apache tomcat"
- title="apache tomcat"
2025-05-27 10:39:47 +08:00
google-query : intitle:"apache tomcat"
2023-10-14 16:57:55 +05:30
tags : tech,tomcat,apache,intrusive
2021-09-09 19:08:13 +05:30
2023-04-27 09:58:59 +05:30
http :
2020-09-22 21:26:52 +00:00
- method : GET
path :
2021-12-29 19:10:59 +05:30
- "{{BaseURL}}"
- "{{BaseURL}}/{{randstr}}"
2022-10-18 14:55:53 -05:00
- "{{BaseURL}}/docs/introduction.html"
2020-09-24 23:46:21 +05:30
2021-12-29 19:10:59 +05:30
stop-at-first-match : true
2023-10-14 16:57:55 +05:30
2021-12-29 19:10:59 +05:30
matchers-condition : or
matchers :
- type : dsl
dsl :
2023-06-20 02:40:30 +05:30
- 'contains(tolower(header), "tomcat")'
2020-09-24 23:46:21 +05:30
2021-12-29 19:10:59 +05:30
- type : dsl
dsl :
- 'contains(tolower(body), "apache tomcat")'
- 'contains(tolower(body), "/manager/html")'
- 'contains(tolower(body), "/manager/status")'
condition : or
2020-09-24 23:46:21 +05:30
2020-09-22 21:26:52 +00:00
extractors :
- type : regex
2023-06-24 17:25:54 -05:00
name : version
2021-12-29 19:10:59 +05:30
group : 1
2020-09-24 23:46:21 +05:30
regex :
2024-07-05 07:42:30 +02:00
- '(?i)Apache Tomcat.*\D([1-9]*[0-9]\.[0-9]+\.[0-9]+)'
2024-12-01 13:57:55 +00:00
# digest: 490a00463044022035cafcec05048e185df7d572d8eb4d14c324e750f05d5fcd8880425615652c3c022021229c6cd3c26e27af13c56d72ca0d57c3924bc35f03d53647b6d0fa8c4e2560:922c64590222798bb761d5b6d8e72950