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

42 lines
1.0 KiB
YAML
Raw Normal View History

id: gitea-public-signup
2022-09-29 16:29:05 +00:00
info:
name: Gitea Public Registration Enabled
2022-09-29 16:29:05 +00:00
author: edoardottt
severity: high
2022-09-29 17:27:52 +00:00
description: |
A misconfiguration in Gitea allows arbitrary users to sign up and read code hosted on the service.
2022-09-29 17:24:03 +00:00
reference:
- https://www.youtube.com/watch?v=oHhofSj9lEM&t=157s
- https://gitea.io/en-us/
2022-09-29 16:29:05 +00:00
metadata:
2022-09-29 17:26:19 +00:00
verified: true
2023-10-14 11:27:55 +00:00
max-request: 1
2022-09-29 17:26:02 +00:00
shodan-query: html:"Powered by Gitea"
2022-10-01 08:29:34 +00:00
tags: misconfig,gitea
2022-09-29 16:29:05 +00:00
http:
2022-09-29 16:29:05 +00:00
- method: GET
path:
- '{{BaseURL}}/user/sign_up'
matchers-condition: and
matchers:
- type: word
words:
- 'Powered by Gitea'
2022-09-29 16:29:05 +00:00
- 'Register -'
condition: and
2022-09-29 16:29:05 +00:00
2022-10-01 08:29:34 +00:00
- type: word
part: body
words:
- "Registration is disabled. Please contact your site administrator."
negative: true
2022-09-29 16:29:05 +00:00
- type: status
status:
- 200
# digest: 490a00463044022043512dbb81d79147544d0398a8e6a1d02f878793dcd721b4afe3f882f8b0c7cb02202e75e9617ff1b3334c5739a9ed859f0d5aa43a51d0cbf4a0a133ee2f53f146f0:922c64590222798bb761d5b6d8e72950