Vulnerabilities #
The RemoteMouse desktop server accepts unauthenticated UDP packets that it interprets as keyboard input, so a remote attacker on the same network can inject keystrokes and run commands. The report also documents cleartext update checks, a replayable password handshake, and information leaks, all unpatched at the time.
axelp.io
Published on axelp.io
I discovered six 0days that allow a remote attacker to get full RCE on a box with no user interaction. MouseTrap is a suite of vulnerabilities and accompanying exploits that targets the RemoteMouse application and service.
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
Root cause
Likely the server trusts any UDP packet on its listening port and feeds the payload straight into a keyboard-input routine without authentication or integrity checks.
Impact
An attacker on the same network could run arbitrary commands on a victim's machine without any user interaction, and the cleartext update check could let a machine-in-the-middle deliver a malicious binary.
What the attacker needed
Attacker on the same local network; no user interaction needed; server reachable on its UDP port
The fix
The vendor released version 4.0.0.0 but did not patch any of the vulnerabilities, so the flaws should be fixed by adding authentication and integrity checks to the command channel and using HTTPS for updates.
How it was found
- Listen for the server's UDP broadcast to find hosts running RemoteMouse.
- Send a UDP packet to the server's port that begins with the key command prefix.
- Use the single-character format to type characters one by one.
- Use the key-combination format to send WIN+R and open the Run dialog.
- Type a command such as powershell.exe and press Enter to execute it.
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.
RemoteMouse lets a phone act as a keyboard and mouse for a computer. The computer listens for messages from the phone but never checks who sent them, so anyone on the same network can send fake key presses and make the computer open a terminal and run commands.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.