nuclei-templates/http/technologies/apache/apache-streampipes-detect.yaml

43 lines
1.3 KiB
YAML

id: apache-streampipes-detect
info:
name: Apache StreamPipes - Detect
author: Alessandro Albani - DEVisions
severity: info
description: |
Checks for the presence of Apache StreamPipes by looking in the body or matching the favicon hash.
classification:
cpe: cpe:2.3:a:apache:streampipes:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 3
vendor: apache
product: streampipes
shodan-query: title:"apache streampipes"
fofa-query: title="apache streampipes"
tags: tech,apache,streampipes,detect
http:
- method: GET
path:
- '{{BaseURL}}/streampipes-backend/api/openapi.json'
- '{{BaseURL}}/assets/img/favicon/favicon.ico'
- '{{BaseURL}}'
host-redirects: true
max-redirects: 2
stop-at-first-match: true
matchers:
- type: dsl
dsl:
- contains_any(to_lower(body), "<title>apache streampipes", "apache streampipes api")
- status_code==200 && ("1937041138" == mmh3(base64_py(body)) || "480680877" == mmh3(base64_py(body)))
condition: or
extractors:
- type: json
part: body
group: 1
json:
- '.info.version'
# digest: 4a0a00473045022100f75e1c328d33c05ff2ddb2609c217e8cc8f2b935b9618da3908790096ef815180220455688639f4d590da7e63bd5ddc191c69f1662541b90302a56b456288a918033:922c64590222798bb761d5b6d8e72950