3 ms·
A bit of a different meaning of "hack". I was working for a medical device company that shall remain nameless. They had a system that was used in operating ro
by AnimalMuppet 4y ago
A bit of a different meaning of "hack".
I was working for a medical device company that shall remain nameless. They had a system that was used in operating rooms that had a fairly nice user interface - bubble keyboard, touch screen, good graphics. It let you input patient information and stuff. (At least part of it was running embedded Linux under the hood.)
In the source code, I saw what it did with the patient name - it used a call to system() to store it in a file. So naturally, I tried an injection attack. I put in "[Name]; sync; sync; reboot". Sure enough, it rebooted the system.
But before the reboot, it had also saved the "patient name" in the file (and, because of the "sync", it had been written out). On boot, it read the information from the file and tried to treat it like a newly-entered patient name, which caused it to reboot again...
We had to re-image the device to recover. We added some validation to user input after that little demonstration.