Firefox flaw let hackers hijack Android browser over Wi-Fi

Mozilla has rushed out a fix for the bug that bears resemblance to an RCE flaw

A security flaw could have allowed cyber criminals to hijack vulnerable Firefox for Android browsers running on devices joined up to the same Wi-Fi network.

The vulnerability, which has been patched by Mozilla, allowed hackers to force users into visiting sites hosting malicious content, which could subsequently be used to execute phishing attacks or download malware to their devices.

Discovered by ESET security researcher Chris Moberly, the bug lies in Firefox’s Simple Service Discovery Protocol (SSDR), a network protocol for advertisement and the discovery of network services and presence information.

Vulnerable iterations of the Firefox for Android browser, noted as being versions 68.11.0 and below, routinely send out SSDP discovery messages in order to seek out a second-screen device connected to the same local network. 

Devices connected to the local network can respond to these messages, providing the location of an eXtensible Markup Language (XML) file containing their configuration details, which Firefox will attempt to access.

“This is where the vulnerability comes in,” Moberly explained on his GitLab page detailing the nature of the exploit. 

“Instead of providing the location of an XML file describing a UPnP device, an attacker can run a malicious SSDP server that responds with a specially crafted message pointing to an Android intent URI. Then, that intent will be invoked by the Firefox application itself.”

This fairly straightforward logic bug would allow cyber criminals to click links on other users’ phones via the Firefox browser. Moberly added the vulnerability resembles remote code execution (RCE) in that a remote attacker can trigger the device to perform unauthorised functions with no interaction from the end-user.

Should the bug had been used in the wild, it could have targeted known vulnerabilities in other applications, or it could have been deployed in a way similar to phishing, where a malicious site is thrust upon a victim without their knowledge.

The bug was reported to Mozilla as soon as it was discovered, and the organisation responded immediately, confirming it was not present in the newest version of the browser. Mozilla also opened issues to ensure the offending code was not re-introduced at a later stage.

Featured Resources

2021 Thales access management index: Global edition

The challenges of trusted access in a cloud-first world

Free download

Transforming higher education for the digital era

The future is yours

Free download

Building a cloud-native, hybrid-multi cloud infrastructure

Get ready for hybrid-multi cloud databases, AI, and machine learning workloads

Free download

The next biggest shopping destination is the cloud

Know why retail businesses must move to the cloud

Free Download

Most Popular

Best Linux distros 2021
operating systems

Best Linux distros 2021

11 Oct 2021
Apple MacBook Pro 15in vs Dell XPS 15: Clash of the titans

Apple MacBook Pro 15in vs Dell XPS 15: Clash of the titans

11 Oct 2021
Supply chain breaches impacted 97% of firms in the past year
supply chain management (SCM)

Supply chain breaches impacted 97% of firms in the past year

12 Oct 2021