Files
sif/modules/recon/woodpecker-version-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

40 lines
824 B
YAML

# Woodpecker CI Version Endpoint Exposure Detection Module
id: woodpecker-version-exposure
info:
name: Woodpecker CI Version Exposure
author: sif
severity: medium
description: Detects a Woodpecker CI server that discloses its version and source repository over the unauthenticated version endpoint
tags: [woodpecker, ci, cd, pipeline, build, fingerprint, version, recon]
type: http
http:
method: GET
paths:
- "{{BaseURL}}/version"
matchers:
- type: regex
part: body
regex:
- '"source"\s*:\s*"[^"]*woodpecker'
- type: word
part: body
words:
- "\"version\""
- type: status
status:
- 200
extractors:
- type: regex
name: woodpecker_version
part: body
regex:
- '"version"\s*:\s*"([^"]+)"'
group: 1