2021-07-28 05:50:27 +00:00
|
|
|
id: jenkins-detect
|
|
|
|
|
|
|
|
info:
|
2022-03-04 16:16:23 +00:00
|
|
|
name: Jenkins Detection
|
|
|
|
author: philippdelteil,daffainfo,c-sh0
|
2021-07-28 05:50:27 +00:00
|
|
|
severity: info
|
2022-03-04 16:16:23 +00:00
|
|
|
reference:
|
|
|
|
- https://www.jenkins.io/doc/book/using/remote-access-api/#RemoteaccessAPI-DetectingJenkinsversion
|
|
|
|
- https://github.com/jenkinsci/jenkins/pull/470
|
|
|
|
- https://www.jenkins.io/doc/book/security/access-control/permissions/#access-granted-without-overallread
|
|
|
|
metadata:
|
|
|
|
shodan-query: http.favicon.hash:81586312
|
2021-07-28 14:59:55 +00:00
|
|
|
tags: tech,jenkins
|
2021-07-28 05:50:27 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}"
|
2022-03-04 16:16:23 +00:00
|
|
|
- "{{BaseURL}}/whoAmI/"
|
2021-12-31 12:27:46 +00:00
|
|
|
|
2022-10-07 21:27:25 +00:00
|
|
|
host-redirects: true
|
2022-03-04 16:16:23 +00:00
|
|
|
max-redirects: 2
|
|
|
|
stop-at-first-match: true
|
2021-07-28 05:50:27 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: header
|
2022-03-04 16:16:23 +00:00
|
|
|
words:
|
2022-11-30 01:28:18 +00:00
|
|
|
- "x-jenkins:"
|
2022-03-04 16:16:23 +00:00
|
|
|
case-insensitive: true
|
2021-07-28 05:50:27 +00:00
|
|
|
|
2021-07-28 14:59:55 +00:00
|
|
|
- type: word
|
|
|
|
words:
|
2022-03-04 16:16:23 +00:00
|
|
|
- "Jenkins"
|
2021-07-28 14:59:55 +00:00
|
|
|
|
2021-07-28 05:50:27 +00:00
|
|
|
extractors:
|
|
|
|
- type: kval
|
|
|
|
kval:
|
2021-07-28 14:59:55 +00:00
|
|
|
- x_jenkins
|