From 87296cdec86b3f135be5467b4da09e706007628b Mon Sep 17 00:00:00 2001 From: Dhiyaneshwaran Date: Wed, 15 Nov 2023 00:41:57 +0530 Subject: [PATCH] Create auth-json.yaml --- http/exposures/files/auth-json.yaml | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 http/exposures/files/auth-json.yaml diff --git a/http/exposures/files/auth-json.yaml b/http/exposures/files/auth-json.yaml new file mode 100644 index 00000000000..370e37cd6b5 --- /dev/null +++ b/http/exposures/files/auth-json.yaml @@ -0,0 +1,41 @@ +id: auth-json + +info: + name: Auth.json File - Disclosure + author: DhiyaneshDk + severity: high + metadata: + verified: true + max-request: 1 + shodan-query: html:"auth.json" + tags: devops,exposure,files,auth,config + +http: + - method: GET + path: + - "{{BaseURL}}/auth.json" + + matchers-condition: or + matchers: + - type: word + part: body + words: + - '"http-basic": {' + - '"username":' + - '"password":' + condition: and + + - type: word + part: body + words: + - '"github-oauth": {' + - '"github.com":' + condition: and + + - type: word + part: body + words: + - '"bitbucket-oauth":' + - '"consumer-key":' + - '"consumer-secret":' + condition: and