nuclei-templates/technologies/cloudfoundry-detect.yaml

29 lines
654 B
YAML

id: cloudfoundry-detect
info:
name: Cloudfoundry Detect
author: uomogrande
severity: info
description: Detects cloudfoundry based on response headers
reference: https://docs.cloudfoundry.org/concepts/cf-routing-architecture.html
tags: cloudfoundry,tech
requests:
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
# request unknown (random) route
- |
GET / HTTP/1.1
Host: {{randstr}}.com
stop-at-first-match: true
req-condition: true
matchers:
- type: dsl
dsl:
- 'contains(all_headers, "X-Vcap-Request-Id:") || contains(all_headers, "X-Cf-Routererror:")'