HexBrain

Cloudflare Public Bug Bounty · Report #1391635

Bypassing Cache Deception Armor using .avif extension file

Validstatus
mediumseverity
36upvotes
27 Jun 2022disclosed

Summary

Cloudflare Deception Armor could be bypassed by using .avif extension making Cache deception attack possible on vulnerable origin servers. Cloudflare Cache Deception Armor uses a Page rule to protect Cloudflare Cache against caching possibly sensitive information. This attack could be performed by tricking a user into clicking a crafted URL (using "path confusion techniques") ending with an .avif extension which makes Cloudflare edge cache the returned (normally non-cachable) content. An attacker could then retrieve this cached information from Cloudflare's edge. The page rule was improved to better handle .avif formats and the presented bypass is no longer possible.

I was able to achieve Cache Deception and/ Poisoning to Cloudflare Customers who were using Cache Deception Armor Software using .avif extension file

This required User interaction, hence the severity set to Medium

Severity varies, it depends on what the customer was exposing in their responses

e.g.

If the customer had user's session within the response, Account Takeover was possible

If I was able to find a XSS on the customer website, Stored XSS was possible

How it was found

The write-up for this report has not been downloaded yet, or the program disclosed it without one. Read it on HackerOne.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original