2021-09-09 06:01:44 +00:00
|
|
|
id: confluence-detect
|
2021-09-09 04:28:04 +00:00
|
|
|
|
|
|
|
info:
|
2023-11-05 10:14:34 +00:00
|
|
|
name: Confluence Detection
|
|
|
|
author: philippedelteil,AdamCrosser,6mile
|
2021-09-09 04:28:04 +00:00
|
|
|
severity: info
|
2023-11-05 10:14:34 +00:00
|
|
|
description: |
|
|
|
|
This nuclei template is used to detect the presence of Confluence, a popular collaboration software.
|
2021-10-14 10:52:58 +00:00
|
|
|
metadata:
|
2023-06-21 21:03:53 +00:00
|
|
|
max-request: 5
|
2023-10-14 11:27:55 +00:00
|
|
|
vendor: atlassian
|
2023-06-21 21:03:53 +00:00
|
|
|
product: confluence_server
|
2022-03-19 10:42:08 +00:00
|
|
|
shodan-query: http.component:"Atlassian Confluence"
|
2023-10-14 11:27:55 +00:00
|
|
|
category: productivity
|
2023-06-16 19:53:27 +00:00
|
|
|
tags: tech,confluence,atlassian,detect
|
2022-03-19 10:42:08 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-09-09 04:28:04 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
2023-06-16 19:53:27 +00:00
|
|
|
- "{{BaseURL}}/dologin.action"
|
2021-09-09 04:28:04 +00:00
|
|
|
- "{{BaseURL}}"
|
|
|
|
- "{{BaseURL}}/pages"
|
|
|
|
- "{{BaseURL}}/confluence"
|
|
|
|
- "{{BaseURL}}/wiki"
|
|
|
|
|
2023-11-05 10:14:34 +00:00
|
|
|
redirects: true
|
2021-09-09 04:28:04 +00:00
|
|
|
stop-at-first-match: true
|
|
|
|
matchers:
|
2023-11-05 10:14:34 +00:00
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- contains(to_lower(header), '-confluence-')
|
|
|
|
- contains(to_lower(body), 'confluence-base-url')
|
2021-09-09 06:01:44 +00:00
|
|
|
|
2021-09-09 04:28:04 +00:00
|
|
|
extractors:
|
|
|
|
- type: regex
|
2023-06-16 19:53:27 +00:00
|
|
|
name: version
|
2021-09-09 04:28:04 +00:00
|
|
|
group: 1
|
|
|
|
regex:
|
2022-06-06 16:30:56 +00:00
|
|
|
- '<meta name="ajs-version-number" content="(.*)">'
|
2023-06-16 19:53:27 +00:00
|
|
|
- 'Atlassian Confluence ([a-z0-9-._]+)'
|
|
|
|
|
2023-11-05 10:14:34 +00:00
|
|
|
- type: regex
|
|
|
|
name: hostname
|
|
|
|
group: 1
|
|
|
|
regex:
|
|
|
|
- '<meta id="confluence-base-url" name="confluence-base-url" content="https://(.*)">'
|
|
|
|
- '<meta name="ajs-base-url" content="https://(.*)">'
|
|
|
|
- '<meta name="ajs-server-name" content="(.*)">'
|