Files
nuclei-templates/http/technologies/element-web-detect.yaml

40 lines
1.1 KiB
YAML
Raw Normal View History

id: element-web-detect
2023-11-30 05:44:41 +01:00
info:
name: Element Web - Detect
author: davidegirardi
2023-11-30 05:44:41 +01:00
severity: info
description: Identify if a web application is vanilla Element Web and return the version
2024-09-10 14:38:16 +05:30
classification:
cpe: cpe:2.3:a:matrix:element:*:*:*:*:*:*:*:*
2023-11-30 05:44:41 +01:00
metadata:
verified: true
max-request: 2
2024-09-10 13:52:50 +05:30
vendor: matrix
2024-09-10 14:38:16 +05:30
product: element
shodan-query: html:"manifest.json"
tags: tech,matrix,element,detect
2023-11-30 05:44:41 +01:00
http:
- method: GET
path:
- "{{BaseURL}}/manifest.json"
- "{{BaseURL}}/version"
host-redirects: true
max-redirects: 2
2023-11-30 05:44:41 +01:00
matchers:
- type: dsl
dsl:
- 'status_code_1 == 200'
2023-11-30 05:44:41 +01:00
- 'contains(content_type_1, "application/json")'
- 'contains(json_minify(body_1), "\"name\":\"Element\"")'
- 'status_code_2 == 200'
2023-11-30 05:44:41 +01:00
condition: and
extractors:
- type: regex
part: body
regex:
- '[^\s]+'
2024-12-01 13:57:55 +00:00
# digest: 4a0a00473045022053f121313deb9eaefc9054649a6853d8b8a02e1e707cebfc0cc3188d93982496022100b635b3a0985f644a5ccd3cdb5906f09603be94c8666809e09197e9f76b5882ce:922c64590222798bb761d5b6d8e72950