Files
nuclei-templates/technologies/nextcloud-detect.yaml
clem9669 1d0e907631 Update nextcloud-detect.yaml
Hey 👋 

I have added another path to detect URL rewrite. 
URL rewrite is mentioned in the official documentation : https://docs.nextcloud.com/server/latest/admin_manual/installation/source_installation.html#pretty-urls or https://help.nextcloud.com/t/removing-index-php-from-the-nextcloud-uri/13055 and so on.

I just experienced the `/nextcloud/login`.

Cheers 😄
2022-10-21 15:15:36 +00:00

45 lines
940 B
YAML

id: nextcloud-detect
info:
name: Nextcloud Detect
author: skeltavik
severity: info
description: |
Nextcloud is a suite of client-server software for creating and using file hosting services
reference:
- https://nextcloud.com
metadata:
verified: true
shodan-query: http.title:"Nextcloud"
tags: tech,nextcloud,storage
requests:
- method: GET
path:
- '{{BaseURL}}'
- '{{BaseURL}}/login'
- '{{BaseURL}}/nextcloud/login'
- '{{BaseURL}}/nextcloud/index.php/login'
stop-at-first-match: true
host-redirects: true
max-redirects: 2
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'var nc_lastLogin'
- 'var nc_pageLoad'
condition: and
- type: status
status:
- 200
extractors:
- type: regex
group: 1
regex:
- '(?m)"version":"([0-9.]+)",'