Skip to content
DoS Disclosed report Beginner

com.duckduckgo.mobile.android - Cache corruption

Opening a crafted URL containing an encoded double quote caused the DuckDuckGo Android app to corrupt its cache and crash persistently. An attacker could prevent a user from continuing to use the app until it is reinstalled.

webklex Follow

Originally disclosed on HackerOne

  • Triaged in 3 days
  • Fixed in 6 days
  • Disclosed after 9 months

Summary:

By opening a special url, the app cache can be corrupted which can't be resolved by the user without reinstalling the app.

Steps To Reproduce:

1.) Download and install the DuckDuckGo App 2.) Open https://%22t.dev/ 3.) Try to reopen the app (The app keeps crashing)

Additional information

  • Tested on Android 8.1 and 9 with the latest app release (5.73.0)
  • Problematic seems to be the encoded " (%22)

Mitigation

  • Store the url urlencoded

Impact

An attacker can corrupt someones app cache and prevent the user from continuing using the app.

The original report as published on HackerOne, by webklex. 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

Root cause

Likely the app stored the URL in a form that did not safely encode the quote character, corrupting the cache entry.

Impact

An attacker could corrupt a user's app cache and stop them using the app until they reinstall it.

What the attacker needed

Victim opens a crafted link; DuckDuckGo Android app installed

The fix

The app should store the URL in an encoded form so special characters cannot corrupt the cache.

How it was found

  1. Install the DuckDuckGo Android app.
  2. Open a URL containing an encoded double quote.
  3. Reopen the app and observe it keeps crashing.

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.

The app saves web addresses it visits in a local storage area called a cache. A specially crafted address containing an encoded quote character confused that storage, so the app crashed every time it started. The only way for a normal user to recover was to uninstall and reinstall the app.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More from DuckDuckGo

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.