2022-09-29 17:21:44 +00:00
|
|
|
id: gitea-public-signup
|
2022-09-29 16:29:05 +00:00
|
|
|
|
|
|
|
info:
|
2022-09-29 17:21:44 +00:00
|
|
|
name: Gitea Public Registration Enabled
|
2022-09-29 16:29:05 +00:00
|
|
|
author: edoardottt
|
2022-09-29 17:21:44 +00:00
|
|
|
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/
|
2024-09-10 09:08:16 +00:00
|
|
|
classification:
|
|
|
|
cpe: cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*
|
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
|
2024-09-10 08:22:50 +00:00
|
|
|
vendor: gitea
|
2024-09-10 09:08:16 +00:00
|
|
|
product: gitea
|
|
|
|
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
|
|
|
|
2023-04-27 04:28:59 +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:
|
2024-01-30 02:43:09 +00:00
|
|
|
- 'Powered by Gitea'
|
2022-09-29 16:29:05 +00:00
|
|
|
- 'Register -'
|
2022-09-29 17:21:44 +00:00
|
|
|
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:
|
2022-09-29 17:21:44 +00:00
|
|
|
- 200
|
2024-09-12 05:14:01 +00:00
|
|
|
# digest: 490a0046304402207a35505b9dd4755b731952da5c39ef92fdde07e55ebd917fced37250502ed794022078cb294582b7358918b1b03c69a32f675cdca8103c4a28f6db8c9afab18c59fd:922c64590222798bb761d5b6d8e72950
|