They're not webcams. Just surveillance cams. The person "hacking" into them is just using the default username and password that comes with them.
Username: admin
Password: *leave blank*
Hopefully most of these people would go and put a password so they can't be remote controlled but we all know that's too much effort for some people.