id: akamai-detect

info:
  name: akamai cdn detection
  author: pdteam
  severity: info
  reference:
    - https://support.globaldots.com/hc/en-us/articles/115003996705-Akamai-Pragma-Headers-overview
    - https://community.akamai.com/customers/s/article/Using-Akamai-Pragma-headers-to-investigate-or-troubleshoot-Akamai-content-delivery?language=en_US
    - https://spyclub.tech/2022/12/14/unusual-cache-poisoning-akamai-s3/
  metadata:
    max-request: 1
  tags: akamai,cdn,tech

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    headers:
      Pragma: akamai-x-cache-on
    matchers:
      - type: word
        part: x_cache
        words:
          - "deploy.akamai"
# digest: 4a0a0047304502200d346ace66d0dfd757888065f5e02832a570f0b9369d017cc4fdeff1ebd4e24a022100f40241cf7b8aa77f68be284f60ac480f788d816fd174a8097400cc44d8c89f1e:922c64590222798bb761d5b6d8e72950