47 lines
1.3 KiB
YAML
47 lines
1.3 KiB
YAML
id: gitlab-saml
|
|
|
|
info:
|
|
name: Gitlab SAML - Detection
|
|
author: rootxharsh,iamnoooob,pdresearch
|
|
severity: info
|
|
description: |
|
|
The presence of SAML-based authentication on GitLab instances. SAML is commonly used for Single Sign-On (SSO) integrations, which allows users to authenticate with GitLab using an external Identity Provider (IdP).
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: gitlab
|
|
product: gitlab
|
|
shodan-query:
|
|
- http.title:"gitlab"
|
|
- cpe:"cpe:2.3:a:gitlab:gitlab"
|
|
- http.html:"gitlab enterprise edition"
|
|
fofa-query:
|
|
- body="gitlab enterprise edition"
|
|
- title="gitlab"
|
|
google-query: intitle:"gitlab"
|
|
tags: panel,saml,gitlab
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
GET /users/auth/saml/metadata HTTP/2
|
|
Host: {{Hostname}}
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "EntityDescriptor"
|
|
- "SAML"
|
|
condition: and
|
|
|
|
- type: word
|
|
part: content_type
|
|
words:
|
|
- "application/xml"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4a0a00473045022049996dff22c3a44f997637d9d676d9804a3135e44390d397b2749598351e58ea02210084b1da9584826133c2798118e9fa80461f9b0e6ebe38a13541539ae70dd6ea0e:922c64590222798bb761d5b6d8e72950 |