Skip to content
Misconfiguration Disclosed report Beginner

[iOS] URL can be replaceState by blob URL in iOS Brave

On iOS Brave, a page could change its URL to a blob URL using history.replaceState.

xifengweiyu Follow

Originally disclosed on HackerOne

  • Fixed in 8 days
  • Paid in 8 days
  • Disclosed after 5 months

Summary:

URL can be replace by blob URL using function history.replaceState()

Products affected:

iOS brave version 1.3.1(17.02.14.11)

Steps To Reproduce:

  • Add a html named "blob.html" which link is "http://192.168.1.111/blob.html"

  • And its source is:

<script>
history.replaceState('','','blob:http://192.168.1.111/xxxx')
</script>
  • then visit this page,you will find that URL has been replace by blob URL successfully!

Attachments

IMG_3124.PNG
IMG_3124.PNG From the original on HackerOne

The original report as published on HackerOne, by xifengweiyu. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

A page could make the address bar display a blob URL.

What the attacker needed

IOS Brave version 1.3.1; victim visits a crafted page

How it was found

  1. Create an HTML file named blob.html served from a local address.
  2. Include a script that calls history.replaceState with a blob URL.
  3. Visit the page and observe the address bar now shows the blob URL.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A web page can change its own address using a built-in function. This report says that on iOS Brave, a page could set that address to a blob address.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More by xifengweiyu

View all

8 more disclosed reports, best first.

More from Brave Software

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.