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="(.*)">'
|
2023-11-05 10:17:55 +00:00
|
|
|
# digest: 4a0a004730450220271dbbb5a7d674a45a676cf7e096ebdc39df4d0bf69c17f074b37e57ad1740bb02210090824d340b9c0f83194a42d0cf41eb23683464e53595905d46da03b2653ad7c4:922c64590222798bb761d5b6d8e72950
|