2023-03-24 02:24:37 +00:00
|
|
|
id: jenkins-token
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Jenkins Token or Crumb
|
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: info
|
|
|
|
reference:
|
|
|
|
- https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/jenkins.yml
|
|
|
|
- https://www.jenkins.io/blog/2018/07/02/new-api-token-system/
|
|
|
|
- https://www.jenkins.io/doc/book/security/csrf-protection/
|
|
|
|
metadata:
|
2023-06-04 08:13:42 +00:00
|
|
|
verified: true
|
2023-03-24 02:24:37 +00:00
|
|
|
tags: jenkins,crumb,token,file
|
|
|
|
|
|
|
|
file:
|
|
|
|
- extensions:
|
|
|
|
- all
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
regex:
|
|
|
|
- '(?i)jenkins.{0,10}(?:crumb)?.{0,10}\b([0-9a-f]{32,36})\b'
|