id: cloudflare-rocketloader-htmli
info:
name: Cloudflare Rocket Loader - HTML Injection
author: j3ssie
severity: unknown
description: |
The Rocket Loader feature in Cloudflare allow attackers to inject arbitrary HTML into the website. This can be used to perform various attacks such as phishing, defacement, etc.
remediation: Disable the rocket loader or Add a CSP header to fix this issue.
reference:
- https://developers.cloudflare.com/speed/optimization/content/rocket-loader/enable/
- https://developers.cloudflare.com/fundamentals/reference/policies-compliances/content-security-policies/#product-requirements
metadata:
verified: true
max-request: 1
tags: misconfig,cloudflare,htmli,miscellaneous
http:
- method: GET
path:
- "{{BaseURL}}/cdn-cgi/image/width=1000,format=auto/https://raw.githubusercontent.com/simple-icons/simple-icons/develop/icons/cloudflare.svg"
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'Cloudflare'
- '