Skip to content
RCE Write-up Advanced

Multiple vulnerabilities in Skymee Petalk AI and Petwant PF-103

The pet feeders run an unauthenticated UDP service that accepts commands, several of which pass user input to shell commands without validation, allowing remote attackers to execute arbitrary code as root. Additionally, firmware updates are downloaded over plain HTTP without cryptographic validation, enabling man-in-the-middle attackers to install malicious firmware.

blog.securityevaluators.com

Published on blog.securityevaluators.com

Independent Security Evaluators (ISE) has discovered nine vulnerabilities in two IoT pet feeders: Skymee’s Petalk AI and Petwant’s PF-103. Marketed to owners of dogs and cats, these devices feature a camera and treat dispenser, controllable from their respective mobile apps.

Shaun Mirani, on blog.securityevaluators.com

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

The UDP service lacks authentication and fails to validate user-supplied input before passing it to shell commands, and firmware updates are fetched over HTTP without integrity checks.

Impact

Remote attackers can execute arbitrary code with root privileges if port 9003 is exposed, and man-in-the-middle attackers can modify firmware images to execute arbitrary code.

What the attacker needed

Port 9003 exposed to attacker; No authentication required

The fix

The vulnerabilities should be fixed by adding authentication to the UDP service, validating input before passing it to shell commands, and using HTTPS with cryptographic signature verification for firmware updates.

How it was found

  1. Connect to the device's UDP port 9003.
  2. Send a crafted 'Set MAC' command containing a shell injection payload.
  3. The device executes the payload, starting a Telnet server on port 1337.
  4. Connect to the Telnet server to obtain a root shell.

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.

These pet feeders have a network service that anyone can talk to without logging in. Some of its commands take input from the network and run it as system commands, so an attacker can send a special message that makes the device run their own commands. Also, the device downloads updates over an unencrypted connection, so someone on the network could tamper with them.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.