Remote Code Execution on the Smiths Medical Medfusion 4000
The Medfusion 4000 infusion pump runs the MQX real-time operating system, whose networking stack exposes unauthenticated FTP and Telnet services and contains a DHCP buffer overflow. An attacker on the same network could read configuration files including plaintext credentials and potentially crash or take over the device.
github.com
Published on github.com
History
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 embedded MQX networking stack shipped with weak defaults: an FTP server that does not enforce authentication, plaintext credentials in a downloadable config file, and an unchecked buffer in DHCP packet handling.
Impact
An attacker with network access could read plaintext wireless and Telnet credentials and crash the pump through the DHCP flaw, potentially disrupting therapy.
What the attacker needed
Physical access to enable external commands; attacker on the same network; no credentials needed for FTP
How it was found
- Enable the external commands interface from the BIOMED network settings menu
- Scan the device to find the open FTP, Telnet and other ports
- Connect to FTP without credentials and list the filesystem
- Download the configuration file and read the Telnet password from it
- Log in to the Telnet console with that password and run shell commands
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.
An infusion pump is a medical device that delivers drugs into a patient. This researcher took one apart, read its software, and found that its network services were poorly protected: a file service let anyone download configuration files without a password, and one of the network protocols could be crashed with a malformed message. Someone on the same network could then read secrets or disrupt the pump.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.