2024-07-19 08:04:20 +00:00
|
|
|
id: tomcat-exposed
|
2022-03-17 09:47:34 +00:00
|
|
|
|
|
|
|
info:
|
2024-07-20 05:59:19 +00:00
|
|
|
name: Tomcat Exposed - Detect
|
2024-07-19 08:04:20 +00:00
|
|
|
author: Podalirius,righettod
|
2022-03-17 09:47:34 +00:00
|
|
|
severity: info
|
2024-07-20 05:59:19 +00:00
|
|
|
description: An Apache Tomcat instance was detected.
|
2024-03-26 08:03:04 +00:00
|
|
|
classification:
|
|
|
|
cpe: cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
|
2022-07-04 13:17:53 +00:00
|
|
|
metadata:
|
2024-03-23 09:28:19 +00:00
|
|
|
max-request: 1
|
2024-07-19 08:04:20 +00:00
|
|
|
verified: true
|
2024-04-08 11:34:33 +00:00
|
|
|
vendor: apache
|
2024-06-07 10:04:29 +00:00
|
|
|
product: tomcat
|
|
|
|
shodan-query:
|
|
|
|
- title:"Apache Tomcat"
|
|
|
|
- http.title:"apache tomcat"
|
|
|
|
- http.html:"apache tomcat"
|
|
|
|
- cpe:"cpe:2.3:a:apache:tomcat"
|
|
|
|
fofa-query:
|
|
|
|
- body="apache tomcat"
|
|
|
|
- title="apache tomcat"
|
|
|
|
google-query: intitle:"apache tomcat"
|
2024-07-20 05:59:19 +00:00
|
|
|
tags: tomcat,panel,apache,detect
|
2022-03-17 09:47:34 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-03-17 09:47:34 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
2024-07-19 08:04:20 +00:00
|
|
|
- '{{BaseURL}}/host-manager/html'
|
|
|
|
- '{{BaseURL}}/manager/status'
|
|
|
|
- '{{BaseURL}}/manager/html'
|
2022-03-17 09:47:34 +00:00
|
|
|
- '{{BaseURL}}/docs/'
|
2024-07-19 08:04:20 +00:00
|
|
|
- '{{BaseURL}}/examples/'
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
2022-03-17 09:47:34 +00:00
|
|
|
matchers:
|
2024-07-19 08:04:20 +00:00
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- 'status_code == 200 || status_code == 401'
|
|
|
|
- 'contains_any(to_lower(body), "apache tomcat", "tomcat-users.xml")'
|
2022-03-17 09:47:34 +00:00
|
|
|
condition: and
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
group: 1
|
|
|
|
regex:
|
2024-07-19 08:04:20 +00:00
|
|
|
- 'Version\s+([0-9.]+),'
|
|
|
|
- '(?i)/lib/([a-z0-9.]+)/webapps'
|
|
|
|
- '(?i)<h3>Apache\s+Tomcat/([0-9.]+)'
|
2024-07-20 06:04:24 +00:00
|
|
|
# digest: 4a0a0047304502202fb2b2a75362e8229a4108b0e1775c34d967a9d09b59c47974b10ce4b6ddfbb0022100a592295b994b952182db3f57817bd0baec02b17f18c542d6814631085a43c7a9:922c64590222798bb761d5b6d8e72950
|