Threat Intelligence

Security Flaw Found in Apple Mobile Device Enrollment Program

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

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.

Curtis Franklin Jr. is Senior Editor at Dark Reading. In this role he focuses on product and technology coverage for the publication. In addition he works on audio and video programming for Dark Reading and contributes to activities at Interop ITX, Black Hat, INsecurity, and ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
Crowdsourced vs. Traditional Pen Testing
Alex Haynes, Chief Information Security Officer, CDL,  3/19/2019
BEC Scammer Pleads Guilty
Dark Reading Staff 3/20/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Write a Caption, Win a Starbucks Card! Click Here
Latest Comment: This comment is waiting for review by our moderators.
Current Issue
5 Emerging Cyber Threats to Watch for in 2019
Online attackers are constantly developing new, innovative ways to break into the enterprise. This Dark Reading Tech Digest gives an in-depth look at five emerging attack trends and exploits your security team should look out for, along with helpful recommendations on how you can prevent your organization from falling victim.
Flash Poll
The State of Cyber Security Incident Response
The State of Cyber Security Incident Response
Organizations are responding to new threats with new processes for detecting and mitigating them. Here's a look at how the discipline of incident response is evolving.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2018-18913
PUBLISHED: 2019-03-21
Opera before 57.0.3098.106 is vulnerable to a DLL Search Order hijacking attack where an attacker can send a ZIP archive composed of an HTML page along with a malicious DLL to the target. Once the document is opened, it may allow the attacker to take full control of the system from any location with...
CVE-2018-20031
PUBLISHED: 2019-03-21
A Denial of Service vulnerability related to preemptive item deletion in lmgrd and vendor daemon components of FlexNet Publisher version 11.16.1.0 and earlier allows a remote attacker to send a combination of messages to lmgrd or the vendor daemon, causing the heartbeat between lmgrd and the vendor ...
CVE-2018-20032
PUBLISHED: 2019-03-21
A Denial of Service vulnerability related to message decoding in lmgrd and vendor daemon components of FlexNet Publisher version 11.16.1.0 and earlier allows a remote attacker to send a combination of messages to lmgrd or the vendor daemon, causing the heartbeat between lmgrd and the vendor daemon t...
CVE-2018-20034
PUBLISHED: 2019-03-21
A Denial of Service vulnerability related to adding an item to a list in lmgrd and vendor daemon components of FlexNet Publisher version 11.16.1.0 and earlier allows a remote attacker to send a combination of messages to lmgrd or the vendor daemon, causing the heartbeat between lmgrd and the vendor ...
CVE-2019-3855
PUBLISHED: 2019-03-21
An integer overflow flaw which could lead to an out of bounds write was discovered in libssh2 before 1.8.1 in the way packets are read from the server. A remote attacker who compromises a SSH server may be able to execute code on the client system when a user connects to the server.