Re:Show HN: I hacked my microwave with a Raspberry Pi
by zanny on Thursday July 11, 2013 @08:41PM
(#6030206)
ntpd is usually run as a daemon, which is run as root, and if you can overflow a buffer somewhere, given you know the architecture and platform (arm, raspberry pi), and don't have data execution prevention, you can inject assembly instructions and jump a function pointer like any other stack overflow.
Then you have arbitrary code execution as ntpd. Unless you have apparmor, or some other MAC.
Re:Show HN: I hacked my microwave with a Raspberry Pi
by desas on Friday July 12, 2013 @08:04AM
(#6032132)
ntpd is usually ran as the ntp on debian based systems at least. Most rpi distros are debian based.
Given that the same ntpd code is running on many many internet connected computers around the world, I don't think a microwave is worth a 0day remote root exploit on.
What is the danger in having a port exposed that can receive updates for time? Are there huge vulnerabilities in the ntpd? Seems like a pretty small attack surface to me.
actually... Is that port even open?!
This is polling a time server through NAT right? So the ports get negotiated. We're not listening, were asking. So I guess the danger would be that your time server of choice could be compromised, and then start sending out malicious packets that... confuse ntpd? Seems like were back where we started.
There was some stupid stuff in that article, twitter updates being perhaps the most colossal (and voice control coming in a neat second, web control @ 3). However, once you take flame decals off and remove the card in the spokes, this ceases to be the danger it once was.