nuclei-templates/http/misconfiguration/gitea-public-signup.yaml

40 lines
1.0 KiB
YAML

id: gitea-public-signup
info:
name: Gitea Public Registration Enabled
author: edoardottt
severity: high
description: |
A misconfiguration in Gitea allows arbitrary users to sign up and read code hosted on the service.
reference:
- https://www.youtube.com/watch?v=oHhofSj9lEM&t=157s
- https://gitea.io/en-us/
metadata:
verified: true
max-request: 1
shodan-query: html:"Powered by Gitea"
tags: misconfig,gitea
http:
- method: GET
path:
- '{{BaseURL}}/user/sign_up'
matchers-condition: and
matchers:
- type: word
words:
- 'Powered by Gitea'
- 'Register -'
condition: and
- type: word
part: body
words:
- "Registration is disabled. Please contact your site administrator."
negative: true
- type: status
status:
- 200
# digest: 4a0a00473045022100c36a1791582268e8b3a23df0696ff11d3112806c7c12c646b10ca49fe148f06f02206c39ee25b316e1041ed0c00c3381f1a9be432515ec5b2085dbd0649fb236d8ec:922c64590222798bb761d5b6d8e72950