GMail API - Detect
ID: gmail-api-client-secrets
Severity: info
Author: geeknik
Tags: config,exposure
Description
Section titled “Description”GMail API was detected.
YAML Source
Section titled “YAML Source”id: gmail-api-client-secrets
info: name: GMail API - Detect author: geeknik severity: info description: GMail API was detected. reference: https://developers.google.com/gmail/api/auth/web-server classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N cvss-score: 0 cwe-id: CWE-200 metadata: max-request: 1 tags: config,exposure
http: - method: GET path: - "{{BaseURL}}/client_secrets.json"
matchers-condition: and matchers: - type: word words: - "client_id" - "auth_uri" - "token_uri" condition: and
- type: status status: - 200
- type: word part: header words: - "application/json"# digest: 490a00463044022028095babcbb714ce86b7334fd125fdf24261f00b3d413fcceac9534e2ae2c4770220162c3cfee3bf15c485fce028866da4c59b3f0f13b6161d25963589d9c44ca37f:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/exposures/configs/gmail-api-client-secrets.yaml"