Getting root on a 4G LTE mobile hotspot
The Alcatel MW41 mobile hotspot exposes a debug mode that can be enabled by sending a specific SCSI command to its mass storage interface. An attacker with physical access can send this command to gain root access to the device.
alex.studer.dev
Published on alex.studer.dev
I have an Alcatel MW41 mobile hotspot. It works fine, but it seems to have some firmware running on it (more specifically, it’s running a web server to give you an interface to change different options), which raises two questions: 1) does it run Linux? and 2) can we get root on it?
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker with physical access to the hotspot can gain root access, allowing full control of the device.
What the attacker needed
Physical access to the hotspot; a Linux computer with sg3-utils; USB connection
How it was found
- Connect the hotspot to a Linux computer via USB.
- Identify the SCSI device corresponding to the hotspot (e.g., /dev/sg1).
- Use the sg_raw command to send the specific SCSI command to the device.
- The hotspot switches to debug mode, providing a root shell accessible via adb.
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 write-up has not been written yet. The Original tab links to the source.
A mobile hotspot is a small device that provides internet access. This researcher found that by sending a special command to the hotspot when it is connected to a computer via USB, they could enable a debug mode that gives full control over the device. The command is sent as a SCSI command, which is normally used to talk to storage devices.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.