Android Firefox Is Vulnerable For Hijack without user Interaction

Android Firefox Is Vulnerable For Hijack without user Interaction on the Same WiFi Network

A Firefox for Android SSDP engine bug will allow attackers to take advantage of targeted Android phones that are connected to the same Wi-Fi network as the attacker and have Firefox enabled.

SSDP stands for Simple Service Discovery Protocol, a text-based protocol that sends messages to devices on the same network for discovery.

For attackers to exploit this vulnerability the target system should have the Firefox application running on their phone, no user interaction or malicious app installation is required.

Firefox for Android Bug

The bug was discovered by Australian security researcher Chris Moberly, with the Firefox Mobile v79, and reported to Mozilla, they acknowledged the vulnerability and the functionality has been removed from the new version.

The vulnerable Firefox version periodically sends out SSDP discovery messages via UDP multicast on the same network to look for the devices available for casting.

Any device that is connected to the same network responds to the broadcast message and provides a location to obtain detailed information on UPnP(Universal Plug and Play) device.

Firefox tries to access the XML file to confirm the UPnP specifications, where the vulnerability comes to play.

“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.”

The vulnerability would let the attacker trigger the device to perform unauthorised functions with zero interaction from the end-user.

Demo: