2021-07-21 05:49:35 +00:00
|
|
|
id: git-credentials-disclosure
|
|
|
|
|
|
|
|
info:
|
2023-02-09 21:03:58 +00:00
|
|
|
name: Git Credentials - Detect
|
2021-07-21 05:49:35 +00:00
|
|
|
author: dhiyaneshDk
|
|
|
|
severity: medium
|
2023-02-09 21:03:58 +00:00
|
|
|
description: Git credentials were detected.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/detectify/ugly-duckling/blob/master/modules/crowdsourced/git-credentials-disclosure.json
|
2023-02-09 21:01:33 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
|
|
|
|
cvss-score: 5.3
|
|
|
|
cwe-id: CWE-200
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: exposure,config
|
2021-07-21 05:49:35 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-07-21 05:49:35 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.git-credentials"
|
2021-07-23 04:14:54 +00:00
|
|
|
|
2021-07-21 05:49:35 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
2021-07-23 19:00:53 +00:00
|
|
|
- "https://"
|
|
|
|
- "@github.com"
|
|
|
|
condition: and
|
|
|
|
|
2021-07-21 05:49:35 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2021-07-23 19:00:53 +00:00
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "text/html"
|
2023-02-09 21:01:33 +00:00
|
|
|
negative: true
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a0047304502207f33de0b0122e9fb053180049d0a8923f1c0b2063f7c27a6deb8142dd2d4efe6022100c35f1c945ad19eb650a81278258637df08546482f69a3191fdf1fc706e71a28f:922c64590222798bb761d5b6d8e72950
|