Skip to content

Square OAuth Secret

ID: square-oauth-secret-token

Severity: info

Author: DhiyaneshDK

Tags: square,token,exposure,oauth

id: square-oauth-secret-token
info:
name: Square OAuth Secret
author: DhiyaneshDK
severity: info
reference:
- https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/square.yml
metadata:
verified: true
max-request: 1
tags: square,token,exposure,oauth
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- '(?i)\b(sq0csp-[a-z0-9_-]{43})\b'
# digest: 4a0a004730450220374efb15e8b817d098d07a7d50d61727b7a6e65fc6e2164cb81a59db406a29b8022100eac0ececb44842429804624dc283645ba632436467bdd71964ee9507970b5803:922c64590222798bb761d5b6d8e72950

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.

Terminal window
$ nuclei -u "URL" -t "http/exposures/tokens/square/square-oauth-secret-token.yaml"

View on Github