Description
In Android's stock AOSP Browser application and WebView component, the "open in new tab" functionality allows a file URL to be opened. On versions of Android before 4.4, the path to the sqlite cookie database could be specified. By saving a cookie containing a <script> tag and then loading the sqlite database into the browser as an HTML file, XSS can be achieved inside the cookie file, disclosing *all* cookies (HttpOnly or not) to an attacker.
Module options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use auxiliary/gather/android/browser_new_tab_cookie_theftmsf undefined(browser_new_tab_cookie_theft) > show actions ...actions...msf undefined(browser_new_tab_cookie_theft) > set ACTION < action-name >msf undefined(browser_new_tab_cookie_theft) > show options ...show and set options...msf undefined(browser_new_tab_cookie_theft) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub