fastly-debug-headers: Fastly CDN Debug Headers Exposure
- Template: fastly-debug-headers
- Name: Fastly CDN Debug Headers Exposure
- Description: Detected Fastly CDN debug headers being exposed when the Fastly-Debug header was sent in a request.This exposure disclosed sensitive debugging information such as cache paths, TTL values, content digests, surrogate keys, and cache server identities, which could help attackers understand CDN configuration and cache behavior.
- Severity: info
- Authors: pussycat0x
- Tags: fastly, cdn, exposure, misconfig, vuln
- References: https://www.fastly.com/documentation/reference/http/http-headers/Fastly-Debug/
- Verified: yes
- Max requests: 1
- Directory: http/misconfiguration
- Path: http/misconfiguration/fastly-debug-headers.yaml
- Digest: 490a0046304402205a20182da2c3c4cd1a2f0166d9916fc641450bee947a775238d9c77d877fe62502206a36b1a59b2a77f0e9a2314e4ee52f233795bf1327156047d55c4422f5a5b56e
- Created at: 2026-01-23T11:28:57Z
- Updated at: 2026-10-23T12:31:51Z
- Age in days: 304
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/misconfiguration/fastly-debug-headers.yaml
- Checked, none or zero: cves, products
- Not known: impact, remediation
Classification
- Checked, none or zero: cwe
- Not known: cvss score, cvss vector, epss score, epss percentile, cpe
Metadata
- Max-request: 1
- Shodan-query: X-Served-By: cache
- Verified: yes
Labels
- Name: Fastly CDN - Debug Headers Exposure
- Impact: Attackers can learn CDN configuration and cache behavior, aiding in further attacks such as cache poisoning or targeted exploitation.
- Remediation: Update to the latest version or configure Fastly to disable debug header exposure.
- Vulnerability type: misconfiguration
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: securitycontext
- Not known: requirements, from cve
```yaml
id: fastly-debug-headers
info:
name: Fastly CDN Debug Headers Exposure
author: pussycat0x
severity: info
description: |
Detected Fastly CDN debug headers being exposed when the Fastly-Debug header was sent in a request.This exposure disclosed sensitive debugging information such as cache paths, TTL values, content digests, surrogate keys, and cache server identities, which could help attackers understand CDN configuration and cache behavior.
reference:
- https://www.fastly.com/documentation/reference/http/http-headers/Fastly-Debug/
metadata:
max-request: 1
verified: true
shodan-query: 'X-Served-By: cache'
tags: fastly,cdn,exposure,misconfig,vuln
http:
- method: GET
path:
- "{{BaseURL}}"
headers:
Fastly-Debug: "1"
matchers-condition: or
matchers:
- type: regex
name: fastly-debug-path
part: header
regex:
- '(?i)fastly-debug-path:\s*.+'
- type: regex
name: fastly-debug-ttl
part: header
regex:
- '(?i)fastly-debug-ttl:\s*.+'
- type: regex
name: fastly-debug-digest
part: header
regex:
- '(?i)fastly-debug-digest:\s*.+'
digest: 490a0046304402205a20182da2c3c4cd1a2f0166d9916fc641450bee947a775238d9c77d877fe62502206a36b1a59b2a77f0e9a2314e4ee52f233795bf1327156047d55c4422f5a5b56e:922c64590222798bb761d5b6d8e72950
```