Researchers have highlighted a vulnerability in Apple’s Device Enrollment Program that, in some circumstances, could leave corporate networks and data insecure. But companies can mitigate the danger.