2021-07-09 17:20:20 +00:00
|
|
|
id: exposed-gitignore
|
|
|
|
|
|
|
|
info:
|
2023-02-05 17:42:48 +00:00
|
|
|
name: Gitignore Config - Detect
|
2022-03-20 20:46:47 +00:00
|
|
|
author: TheZakMan,geeknik
|
2021-07-09 17:20:20 +00:00
|
|
|
severity: info
|
2023-02-05 21:45:44 +00:00
|
|
|
description: Gitignore configuration information was detected.
|
2021-08-18 11:37:49 +00:00
|
|
|
reference:
|
2021-08-19 14:44:46 +00:00
|
|
|
- https://twitter.com/pratiky9967/status/1230001391701086208
|
|
|
|
- https://www.tenable.com/plugins/was/98595
|
2023-02-05 16:59:15 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
|
2023-10-14 11:27:55 +00:00
|
|
|
cvss-score: 0
|
2023-02-05 16:59:15 +00:00
|
|
|
cwe-id: CWE-200
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 3
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: exposure,tenable,config,git
|
2021-07-09 17:20:20 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-07-09 17:20:20 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.gitignore"
|
|
|
|
- "{{BaseURL}}/assets/.gitignore"
|
|
|
|
- "{{BaseURL}}/includes/.gitignore"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
2021-07-09 19:10:09 +00:00
|
|
|
- type: dsl
|
|
|
|
dsl:
|
2021-07-25 19:09:16 +00:00
|
|
|
- 'len(body) > 50'
|
|
|
|
- 'status_code == 200'
|
2021-07-26 09:44:33 +00:00
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
words:
|
2023-09-27 13:08:37 +00:00
|
|
|
- "MongoDB over HTTP on the native"
|
2021-07-26 09:44:33 +00:00
|
|
|
- "application/javascript"
|
2022-03-20 20:46:47 +00:00
|
|
|
- "application/x-javascript"
|
2021-07-26 09:44:33 +00:00
|
|
|
- "application/json"
|
|
|
|
- "application/xml"
|
2023-10-11 05:33:11 +00:00
|
|
|
- "text/xml"
|
2021-07-26 09:44:33 +00:00
|
|
|
- "html"
|
|
|
|
- "<!doctype"
|
|
|
|
- "<script"
|
|
|
|
- "<meta"
|
|
|
|
- "image/"
|
2022-04-20 14:38:07 +00:00
|
|
|
part: response
|
2021-07-26 09:44:33 +00:00
|
|
|
negative: true
|
2022-03-20 20:46:47 +00:00
|
|
|
condition: or
|
2023-10-19 13:13:52 +00:00
|
|
|
# digest: 4a0a00473045022047cee6846b95be1b913db1322c34847a71a6f11df568d7d832e064752963e87e0221009337b92788ead19c80adf441b8923484481edeed80e08fe513c5928135a3b09c:922c64590222798bb761d5b6d8e72950
|