Security Flaw Found in Apple Mobile Device Enrollment Program

Authentication weakness in Apple's DEP could open a window of opportunity for attackers.

3 Min Read
Dark Reading logo in a gray background | Dark Reading

Researchers have discovered a security flaw in the authentication process of the Apple Device Enrollment Program (DEP), an Apple service that helps enterprises enroll iOS, macOS, and tvOS devices in mobile device management systems.

The problem is centered around the authentication required (or not required) for those enrolled devices.

"The vulnerability lets someone send a valid Apple serial number to the server and retrieve the DEP profile," says James Barclay, senior R&D Engineer and lead analyst at Duo Labs, which found the bug.

And that doesn't necessarily mean that the attacker has seen the devices. "The key space is small enough that the attacker could conceivably generate brute-force numbers and submit them in bulk until they get a valid response," explains Barclay. While the DEP profile contains information on networks and privileges that could be useful to expand an attack, the news could be much worse for some organizations with specific MDM configurations.

"Many configurations of MDM don't require further information on the system it's recording," says Rich Smith, director of Duo Labs. "If the MDM server doesn't have authentication requirements, an organization that's dispensing the certificates for their VPN through the MDM server could see an attacker be enrolled, get the certificate and VPN configuration information, and be an authorized device in the network."

And at that point, the malicious device is free to roam the network doing its dirty work with little to slow it down, he says.

As of the time of this posting, there is no evidence that this attack has been used in the wild, Smith says.

Duo Labs, which detailed its findings in a blog post published today, followed a 90-day disclosure policy for the vulnerability, notifying Apple approximately 3 months before issuing their report. Duo will not publicly release the code to exploit the vulnerability, Smith says.

Remediating the vulnerability is not something an individual customer can do much about, Smith says. "It's less a bug and more a flaw; the serial number as the only information used to authenticate a device is the source of the issue."

"Fixing a flaw may be more complex than fixing a bug," he notes.

The serial number is not sufficient for authentication, he says. It's not a "strong enough form of authentication to provide the properties we'd like to see for enrolling in an organization's fleet," Smith says.

Meanwhile, Apple may not have to release a patch for the flaw to users. Barclay points out that the issue exists in server-based code within Apple; remediation may happen at any time, with little or no notice to users of the service. Apple has not yet responded publicly about the flaw.

Related Content:

 

 

Black Hat Europe returns to London Dec 3-6 2018  with hands-on technical Trainings, cutting-edge Briefings, Arsenal open-source tool demonstrations, top-tier security solutions and service providers in the Business Hall. Click for information on the conference and to register.

About the Author

Curtis Franklin, Principal Analyst, Omdia

Curtis Franklin Jr. is Principal Analyst at Omdia, focusing on enterprise security management. Previously, he was senior editor of Dark Reading, editor of Light Reading's Security Now, and executive editor, technology, at InformationWeek, where he was also executive producer of InformationWeek's online radio and podcast episodes

Curtis has been writing about technologies and products in computing and networking since the early 1980s. He has been on staff and contributed to technology-industry publications including BYTE, ComputerWorld, CEO, Enterprise Efficiency, ChannelWeb, Network Computing, InfoWorld, PCWorld, Dark Reading, and ITWorld.com on subjects ranging from mobile enterprise computing to enterprise security and wireless networking.

Curtis is the author of thousands of articles, the co-author of five books, and has been a frequent speaker at computer and networking industry conferences across North America and Europe. His most recent books, Cloud Computing: Technologies and Strategies of the Ubiquitous Data Center, and Securing the Cloud: Security Strategies for the Ubiquitous Data Center, with co-author Brian Chee, are published by Taylor and Francis.

When he's not writing, Curtis is a painter, photographer, cook, and multi-instrumentalist musician. He is active in running, amateur radio (KG4GWA), the MakerFX maker space in Orlando, FL, and is a certified Florida Master Naturalist.

Keep up with the latest cybersecurity threats, newly discovered vulnerabilities, data breach information, and emerging trends. Delivered daily or weekly right to your email inbox.

You May Also Like


More Insights