34 lines
912 B
YAML
34 lines
912 B
YAML
id: sendgrid-env
|
|
|
|
info:
|
|
name: SendGrid Env File Exposure
|
|
author: DhiyaneshDk
|
|
severity: medium
|
|
description: SendGrid file is exposed containing environment variables.
|
|
classification:
|
|
cpe: cpe:2.3:a:sendgrid:sendgrid:*:*:*:*:wordpress:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: sendgrid
|
|
product: sendgrid
|
|
shodan-query: html:"sendgrid.env"
|
|
tags: exposure,sendgrid,key,api,files
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/sendgrid.env"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- 'SG\.[a-zA-Z0-9-_]{22}\.[a-zA-Z0-9_-]{43}'
|
|
|
|
- type: status
|
|
status:
|
|
- 429
|
|
negative: true
|
|
# digest: 490a00463044022004ec7f3ee20b950f27c6e0cb7f1788ac6bab7c19f260aba5d46d3f6363817a1c02205f5fc466ea7ada21af7e739cf4f804e7f1e37bcd33ed3ecae43a92f5cf48632a:922c64590222798bb761d5b6d8e72950 |