nuclei-templates/misconfiguration/gitlab/gitlab-uninitialized-passwo...

43 lines
1.1 KiB
YAML
Raw Normal View History

2022-03-04 04:44:51 +00:00
id: gitlab-uninitialized-password
2022-03-04 04:44:51 +00:00
info:
name: Uninitialized GitLab instances
2022-03-04 04:44:51 +00:00
author: GitLab Red Team
severity: high
description: |
Prior to version 14, GitLab installations required a root password to be
set via the web UI. If the administrator skipped this step, any visitor
could set a password and control the instance.
reference:
- https://gitlab.com/gitlab-org/gitlab/-/issues/211328
- https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/5331
- https://docs.gitlab.com/omnibus/installation/#set-up-the-initial-password
metadata:
shodan-query: http.title:"GitLab"
2022-03-04 13:50:03 +00:00
tags: gitlab,misconfig,unauth
2022-03-04 04:44:51 +00:00
requests:
- method: GET
path:
- "{{BaseURL}}/users/sign_in"
2022-03-04 04:44:51 +00:00
redirects: true
max-redirects: 2
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'Change your password'
- 'New password'
- 'Confirm new password'
condition: and
2022-03-04 04:44:51 +00:00
- type: word
part: header
words:
- 'gitlab_session'
2022-03-04 04:44:51 +00:00
- type: status
status:
- 200