The CIA has had the ability to turn routers and network access points into surveillance devices for years, according to secret documents published by WikiLeaks on Friday.