nuclei-templates/http/exposures/tokens/github/github-oauth-access.yaml

29 lines
950 B
YAML
Raw Normal View History

id: github-oauth-access
2023-03-07 09:40:29 +00:00
info:
name: GitHub OAuth Access Token
author: DhiyaneshDK
severity: info
reference:
- https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/github.yml
- https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/about-authentication-to-github
- https://docs.github.com/en/developers/apps/building-oauth-apps/authorizing-oauth-apps
- https://github.blog/2021-04-05-behind-githubs-new-authentication-token-formats/
metadata:
2023-06-04 08:13:42 +00:00
verified: true
2023-10-14 11:27:55 +00:00
max-request: 1
2023-03-07 09:40:29 +00:00
tags: github,oauth,token,exposure
http:
2023-03-07 09:40:29 +00:00
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
2023-10-14 11:27:55 +00:00
- '\b(gho_[a-zA-Z0-9]{36})\b'
# digest: 4a0a00473045022064cc0371e1793f0bd0fc4ce26bf8920af257a65a12fa5495815b3c6caf2cc0a50221009b820014852d1f4548db3a313433478a94062f9870b80a90ccd501c7feab339d:922c64590222798bb761d5b6d8e72950