Files
sif/modules/recon/concourse-info-exposure.yaml
T
TigahandGitHub b9bca40a06 feat(modules): add concourse, woodpecker and gocd exposure modules (#250)
add recon modules that fingerprint ci/cd pipeline servers via their public version endpoints: concourse /api/v1/info, woodpecker /version (keyed on its source repository) and gocd /go/api/version (keyed on its gocd commit url); each answers without authentication and discloses the server version.
2026-07-02 12:56:01 -07:00

38 lines
807 B
YAML

# Concourse CI Info Endpoint Exposure Detection Module
id: concourse-info-exposure
info:
name: Concourse CI Info Exposure
author: sif
severity: medium
description: Detects a Concourse CI server that discloses its server and worker versions and external url over the unauthenticated info api
tags: [concourse, ci, cd, pipeline, build, fingerprint, version, recon]
type: http
http:
method: GET
paths:
- "{{BaseURL}}/api/v1/info"
matchers:
- type: word
part: body
words:
- "\"version\""
- "\"worker_version\""
- "\"external_url\""
condition: and
- type: status
status:
- 200
extractors:
- type: regex
name: concourse_version
part: body
regex:
- '"version"\s*:\s*"([^"]+)"'
group: 1