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
|
2021-07-21 05:49:35 +00:00
|
|
|
tags: exposure,config
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- 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:
|
2021-07-23 19:00:53 +00:00
|
|
|
|
2021-07-21 05:49:35 +00:00
|
|
|
- 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
|
|
|
|
|
|
|
|
# Enhanced by md on 2023/02/09
|